Skip to main content
Version: Next

Strapi

Strapi is Open source Node.js Headless CMS, used for Low Code and No Code Master Data Headless CMS . Strapi is the next-gen headless CMS, open-source, javascript, enabling content-rich experiences to be created, managed and exposed to any digital device.

GUI

Prepare​

When referring to this document to use Strapi, please read and ensure the following points:

  • Login to Websoft9 Console and find or install Strapi:

    • Go to My Apps listing applications
    • Go to App Store installing target application
  • This application is installed by Websoft9 console.

  • The purpose of this application complies with the MIT open source license agreement.

  • Configure the domain name or server security group opens external network ports for application access.

Getting Started​

Initial Setup​

  1. After completing the installation of Strapi in the Websoft9 Console, retrieve the application's overview and access information from My Apps.

  2. Wait for the Strapi container to start: The first time Strapi starts, it will pull external software packages online, so you may need to wait a few minutes before accessing the initial page.

Create Your Data Model​

  1. Log in to Strapi, then go to Plugins > Content-type Builder and add a dataset. For example, name it websoft9.

  2. Add a user under Users and set the role to public.

  3. Navigate to Settings > USERS & PERMISSIONS PLUGIN > Roles, edit the public role to grant access to the websoft9 dataset.

  4. Access the following URLs to obtain data:

    # Get all data
    http://URL/websoft9

    # Get the first piece of data
    http://URL/websoft9/1

Configuration Options​

  • Multilingual (√)

Administration​

Troubleshooting​

Strapi First Startup Error?​

Reason: When Strapi is first launched, it installs some Node.js packages from GitHub, which may fail due to network issues.
Solution: Ensure that the server has smooth access to the npm repository and GitHub.