You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to the project folder and run the following command via the terminal: docker compose up
or docker compose up -d client [if the user doesn't want to see logs in the same terminal]
Give some time. Then the server will run on PORT:5000 and the client on PORT:3000(make sure there is nothing running on those port).
[PS: if users have an old version of docker then they might have to add a hyphen like this docker-compose]
Instruction to run Unit Tests
Make sure app(server) is running(by following above instruction).
Now open another terminal and go to the server directory and run the following command: docker exec -it singularity-task-server sh.
It will take us into the server container. Also, user can access it from the docker desktop. There is an option called Open in terminal into three dots beside all containers.
After doing that user can see /app # in the terminal. Now type the following command:npm run test. It will start Jest.
Note: other information related to the app is given in technical_documentation.md file. Which is located at the root of this project. And credentials for testing can be found into this file as well.
About
This is a web application for scheduling and managing employee shifts.