Skip to content

tamdilip/nestjs-microservice-angular

Repository files navigation

nestjs-microservice-angular

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:

Installation

  1. Requires Consul registry service to run.
 $ consul agent -dev
  1. Install the dependencies and start the apigateway service first.
 $ cd apigateway $ npm i $ npm run start
  1. Install the dependencies, update the database credentials in bootstrap-development.yml and start the authentication service.
 $ cd authservice $ npm i $ npm run start
  1. Install the dependencies and start the filemanagement service.
 $ cd filemanagementservice $ npm i $ npm run start
  1. Install the dependencies, update the database credentials in bootstrap-development.yml and start the report metrics service.
 $ cd reportservice $ npm i $ npm run start
  1. Install the angular-cli, dependencies and start the angular frontend.
 $ cd frontend $ npm i $ ng serve

Post installation

Hit - http://localhost:8500/ Check the health of all 5 service registered in consul discovery. Image of Consul service discovery

Hit - http://localhost:4200/ Create a user (via postman for now) and login to dasboard UI. Image of Angular Login UI

Happy coding :) !!

About

Node JS based microservice with NestJS Framework and NestCloud modules

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •