Skip to content

Files

Latest commit

 

History

History

backend

books-n-films backend

Powered by:

Running locally in dev mode

To run both MariaDB and Strapi locally in a docker container, do the following:

  1. Install & configure docker
  2. Set up .env file by copying .env.example to .env
    values can be retrieved from the project's admin
  3. run docker compose build books-n-films-backend if required
  4. run docker-compose up to start the database and the Strapi backend application

🚀 Getting started with Strapi

Strapi comes with a full featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds.

develop

Start your Strapi application with autoReload enabled. Learn more

npm run dev

start

Start your Strapi application with autoReload disabled. Learn more

npm run start

build

Build your admin panel. Learn more

npm run build

Linting

Using Prettier and ESLint to enforce code style. Available scripts:

  • lint applies all linters to check the code
  • lint:fix applies all linters to fix the code
  • prettier applies a prettier check on the code
  • prettier:fix applies a prettier fix on the code
  • eslint applies an eslint check on the code
  • eslint:fix applies an eslint fix on the code

⚙️ Deployment

Strapi gives you many possible deployment options for your project. Find the one that suits you on the deployment section of the documentation.

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

🤫 Psst! Strapi is hiring.