Strapi
Strapi is the leading open-source headless CMS, which is 100% JavaScript, fully customizable and developer-first.
How to Install
yarn create strapi-app my-project --quickstart
yarn develop
This one line simple command installs Strapi which can be accessible in http://localhost:1337/
How to Create A New user
Navigate to http://localhost:1337/admin (opens new window).
Complete the form to create the first Administrator user.
Install Using Docker
If you already familiar with Docker, then lets go first to create docker-compose.yml file
version: '3'
services:
strapi:
image: strapi/strapi
environment:
DATABASE_CLIENT: mongo
DATABASE_NAME: strapi
DATABASE_HOST: mongo
DATABASE_PORT: 27017
DATABASE_USERNAME: strapi
DATABASE_PASSWORD: strapi
volumes:
- ./app:/srv/app
ports:
- '1337:1337'
depends_on:
- mongo
mongo:
image: mongo
environment:
MONGO_INITDB_DATABASE: strapi
MONGO_INITDB_ROOT_USERNAME: strapi
MONGO_INITDB_ROOT_PASSWORD: strapi
volumes:
- ./data:/data/db
The example above works for MongoDB.
Next, pull the images from Docker hub
docker-compose pull
Then start the application by running this file
docker-compose up -d