This project is a Monorepo of Angular and Nest created using Nx Extensible Dev Tools for Monorepos.
Choosed Nx monrepo for fast prototype.
Mainteny CA is a coding assignment for a small application which admin can see students list with courses assigned and he can assign remaining courses which are not assigned.
Angular frontend :ng serve frontend
to run in localhost 4200
Nest backendng serve api
to run in localhost 3333
Run ng build my-app
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test <appName>
to execute the unit tests via Jest.
Implemented only 2 test cases in backend
Test results
Created 2 docker files for both api and frontend and also a docker compose file to trigger.
commands to create image of those docker files
docker image build -t maintenycaapi -f api.dockerfile ./
docker image build -t maintenycaapp -f frontend.dockerfile ./
Command to run docker compose
docker-compose up -d