Frontend / Backend with Docker
- Requires NodeJs installed
- Requires Composer installed
- Optional: Symfony Installer
cd apps
npm install -g @angular/cli
ng new frontend
(any other name requires changes in the Dockerfile)
cd apps
- (if applicable)
symfony new backend
(any other name requires changes in the Dockerfile) - (if applicable)
composer create-project symfony/skeleton backend
(any other name requires changes in the Dockerfile)
-
docker-compose -f docker-compose.dev.yml up -d
-
cd apps/frontend && ng serve
-
Frontend URL: http://localhost:4200
-
Backend URL: http://localhost:8002