Quiz application
cd ./quiz-app-infra
docker-compose up -d
Then open browser on http://localhost:3000
From project root:
cd ./quiz-app-api
npm ci
npm run migrate
npm run dev
Then open browser on http://localhost:3001
RESTFUL API documentation on http://localhost:3001/docs
From project root:
cd ./quiz-app-api/
npm ci
npm run test:integration
From project root:
MacOS | Windows
cd ./quiz-app-api/tests/integration
chmod u+x start_integration_tests_docker.sh
./start_integration_tests_docker.sh
Linux
cd ./quiz-app-api/tests/integration
chmod u+x start_integration_tests_docker.sh
start_integration_tests_docker.sh
From project root:
cd ./quiz-app-api/
npm ci
npm run test:unit
From project root:
cd ./quiz-app-webapp/
npm ci
npm run test:unit
From project root:
cd ./quiz-app-webapp/
npm ci
npm start or npm run start:dev
npm run test:e2e
In opened window select E2E Testing
, after Choose a browser
.
Select e2e-test from list you like to test.