-
Install dependencies
composer install
-
Run the project
php bin/console server:run
-
Open in browser
-
For to connect your MYSQL database, change in .env file:
DATABASE_URL=mysql://root@127.0.0.1:3306/<DB_NAME>
-
For to generate MYSQL database and tables, you need writing in a terminal, in root project:
php bin/console doctrine:database:create php bin/console make:migration php bin/console doctrine:migrations:migrate
-
For configurate your JWT in .env file, you need to change it:
JWT_SECRET=<YOUR_SECRET_KEY>