Web application of an amazing pong game.
docker-compose build
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up [--build] [back_end_server|front_end_server]
docker-compose -f docker-compose.yml -f docker-compose.debug.yml up [--build] [back_end_server|front_end_server]
docker-compose -f docker-compose.yml -f docker-compose.test.yml run back_end_server bash -c 'npm run test:e2ewatch'
docker-compose up [--build]
For auth.controller:
docker-compose -f docker-compose.yml -f docker-compose.test.yml run back_end_server bash -c 'jest --watchAll --maxWorkers=1 --testPathPattern=auth.controller'
With:
--testPathPattern=[regex]
{
"version": "0.2.0",
"configurations": [
{
"name": "Docker: Attach to Node",
"type": "pwa-node",
"request": "attach",
"restart": true,
"port": 9229,
"address": "localhost",
"localRoot": "${workspaceFolder}/back_end",
"remoteRoot": "/usr/src/app",
"protocol": "inspector"
}
]
}