This is a CRUD Duties Web App built with Next.js and GraphQL powered with PostgreSQL database with Ant Design component library for the web UI
- Install git according to your operating system and clone this project. In Windows, make sure Git BASH is installed properly (see guide) to be able to run 
.shscript later. - Install Node.js with PNPM
 - Install Docker and docker-compose. Make sure the current user can run 
dockeranddocker-composefrom command line without usingsudo. 
Install all the node package dependencies by running:
pnpm installFor developing, run the PostgreSQL docker container and the development server:
docker-compose up -d db
pnpm run devThis project is using Jest to do the unit test; to check the test coverage run the following command:
pnpm run test:coverageFor deployment, in MacOS and Linux, cd to the project root from your terminal and run the following command:
sh run.shin Windows, open Git BASH (from prerequisite#1) by right-clicking on the project folder and selecting the Git Bash Here option from the context menu (right-click menu) before running the following command in the Git BASH:
sh run.shOpen http://localhost:3000 with your browser to see the result.