🚀 Getting started with Strapi
Strapi comes with a full featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds.
⚙️ Local development (Strapi)
This steps run Strapi in development mode locally, without importing any mock data. This is used for a fresh copy of Strapi and its configuration.
- Run
yarn
to install modules and Strapi CLI - Run
yarn build
- Run
yarn develop
- Create admin user
🐳 Local development with mock data (Docker)
In order to access a quick API mock, you need docker
and docker-compose
installed locally.
- Copy
env.dev
to.env
- Run
docker-compose up
- Create admin user (unskippable)
- Access the API
http://localhost:1337/api/pages?populate=*
More API references in the Postman collection.
💻 Strapi CLI
develop
Start your Strapi application with autoReload enabled. Learn more
npm run develop
# or
yarn develop
start
Start your Strapi application with autoReload disabled. Learn more
npm run start
# or
yarn start
build
Build your admin panel. Learn more
npm run build
# or
yarn build
📚 Learn more
- Resource center - Strapi resource center.
- Strapi documentation - Official Strapi documentation.
- Strapi tutorials - List of tutorials made by the core team and the community.
- Strapi blog - Official Strapi blog containing articles made by the Strapi team and the community.
- Changelog - Find out about the Strapi product updates, new features and general improvements.
Feel free to check out the Strapi GitHub repository. Your feedback and contributions are welcome!
✨ Community
- Discord - Come chat with the Strapi community including the core team.
- Forum - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
- Awesome Strapi - A curated list of awesome things related to Strapi.