A Social Network Project to practice Vue.js and Symfony API Platform
Copy .env_example
to .env
and set the variables.
docker-compose up -d --build
docker-compose exec coonet-php-apache-service composer install
Use the mysql driver instead of postgresql:
DATABASE_URL="mysql://db_user:db_password@coonet-mysql-service:3306/db_name?serverVersion=5.7"
Use coonet-mysql-service
as hostname
docker-compose exec coonet-php-apache-service doctrine:schema:create
Load fake data:
docker-compose exec coonet-php-apache-service doctrine:fixtures:load
Documentation: https://api-platform.com/docs/core/jwt/
docker-compose down
cd client/
npm install
Copy .env_example
to .env
.
docker-compose up -d
docker-compose down
cd client/
npm run serve