Setup the Strapi CMS
By Default the Strapi CMS is not included in the project. To setup the CMS follow the steps below.
- Create a new Strapi project
- Copy the contents of the
strapi
folder into the root of the new Strapi project - Run
npm install
to install the dependencies - Run
npm run develop
to start the Strapi server - Open the Strapi admin panel at
http://localhost:1337/admin
- Create a new user
- Create a new collection type called
Article
with the following fields:- Title (Text)
- Content (Rich Text)
- Author (Text)
- Image (Media)
- Date (Date)
- Create a new collection type called
Category
with the following fields:- Name (Text)
- Create a new collection type called
Tag
with the following fields:- Name (Text)
- Create a new collection type called
User
with the following fields:- Username (Text)
- Email (Text)
- Password (Password)
- Create a new collection type called
Comment
with the following fields:- Name (Text)
- Email (Text)
- Content (Text)
- Article (Relation to Article)
- Create a new collection type called
Settings
with the following fields: