A NodeJS based microservice built with NestJS Framework and NestCloud modules for a hackathon to design a dashboard for admin portal to upload different excel data and represent them through infographic charts/graphs.
Overview of things I have used:
- Requires Consul registry service to run.
$ consul agent -dev
- Install the dependencies and start the apigateway service first.
$ cd apigateway
$ npm i
$ npm run start
- Install the dependencies, update the database credentials in
bootstrap-development.yml
and start the authentication service.
$ cd authservice
$ npm i
$ npm run start
- Install the dependencies and start the filemanagement service.
$ cd filemanagementservice
$ npm i
$ npm run start
- Install the dependencies, update the database credentials in
bootstrap-development.yml
and start the report metrics service.
$ cd reportservice
$ npm i
$ npm run start
- Install the angular-cli, dependencies and start the angular frontend.
$ cd frontend
$ npm i
$ ng serve
Hit - http://localhost:8500/
Check the health of all 5 service registered in consul discovery.
Hit - http://localhost:4200/
Create a user (via postman for now) and login to dasboard UI.
Happy coding :) !!