bogdaaamn / strapi-sandbox

A strapi sandbox for Cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🚀 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.

  1. Run yarn to install modules and Strapi CLI
  2. Run yarn build
  3. Run yarn develop
  4. 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.

  1. Copy env.dev to .env
  2. Run docker-compose up
  3. Create admin user (unskippable)
  4. 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.

About

A strapi sandbox for Cloud


Languages

Language:JavaScript 90.2%Language:Dockerfile 7.0%Language:Shell 2.8%