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.
Prepare
When referring to this document to use Strapi, please read and ensure the following points:
-
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
-
When completed installation of Strapi at Websoft9 console, get the applicaiton's overview and access information from My Apps
-
Wait for Strapi container starting: At the first time starting, Strapi will pull external software packages online and wait for a few minutes before entering the initial page
Create your Data model
-
Login to Strapi, go to Plugins > Content-type Builder Add a dataset, if named:
websoft9
-
Add a user under the Users and set the role to
public
-
Go to Settings > USERS & PERMISSIONS PLUGIN > Roles, and edit public role to grant access to the
websoft9
dataset -
Access the following URL to obtain data
#Get all data
http://URL/websoft9
#Get the first piece of data
http://URL/websoft9/1
Configuration options
- Multilingual (√)
Administer
Troubleshooting
Strapi first startup error?
Reason: When Strapi is first launched, it will install some Node.js packages from Github, which may fail due to network issues
Solution: Ensure that the server can smoothly access the npm repository and Github