To run this project localy you have to install
- Docker - for
API - Node >=14.17 - for
CLIENT
I used the following technologies to create this project
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Use the package manager npm to install node_modules required for this app.
Run in /client folder following commands
npm install then
npm startto start webpack dev server. Application will be running on http://localhost:8080
Go to /api folder and run following command
docker-compose upIf you want to check records in database run following commands
Note: Before you start you have to get database container_id to do this run
docker psand grab container_id for "postgres:11.5-alpine" image from displayed table, next paste it instead {container_id} in command bellow.
docker exec -it {container_id} psql -U postgresnext, connect to database logs running following command
\c logs
and select records from table by following example command
SELECT * FROM "Log" LIMIT 2;To run client app tests go to /client folder and run following command
npm run testTo run api tests go to /api folder and run following command
npm run test