Strapi comes with a full featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds.
Start your Strapi application with autoReload enabled. Learn more
npm run develop
# or
yarn develop
Start your Strapi application with autoReload disabled. Learn more
npm run start
# or
yarn start
Build your admin panel. Learn more
npm run build
# or
yarn build
Strapi gives you many possible deployment options for your project including Strapi Cloud. Browse the deployment section of the documentation to find the best solution for your use case.
- 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!
- 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.
To run this project, you will need to add the following environment variables to your .env file
NODE_ENV
The environment in which the application is running.
DATABASE_CLIENT
The database client to use.
DATABASE_HOST
The database host.
DATABASE_PORT
The database port.
DATABASE_NAME
The database name.
DATABASE_USERNAME
The database username.
DATABASE_PASSWORD
The database password.
JWT_SECRET
The secret used to sign the JWT for the Users-Permissions plugin.
ADMIN_JWT_SECRET
The secret used to sign the JWT for the Admin panel.
APP_KEYS
The secret keys used to sign the session cookies.`
Clone the project
git clone https://link-to-project
Go to the project directory
cd my-project
Install dependencies
npm install
Start the server
npm run start
ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Run this command on your client database:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
flush privileges;
If still not working run this:
ALTER USER 'root' IDENTIFIED WITH mysql_native_password BY 'password';
flush privileges;
as root your username and password your current password