Skip to content

Latest commit

 

History

History
78 lines (36 loc) · 907 Bytes

File metadata and controls

78 lines (36 loc) · 907 Bytes

component Diagram

./component.jpeg ./schema.jpeg

required (Installed)

nodejs mongodb

How to Deploy

  • clone the repo
  • npm init
  • npm i pm2 -g

How to test

- npm test

How to run

  • start mongod server
  • run command to start the server pm2 start ecosystem.config.js (running server with cluster mode with max node upto 5)

How to monitor

  • pm2 monit

How to use APIS

please visit <componet_name>.route.controller.js in /api directory

test case (using jasmine)

  • not completed

intro

Focus

working solution, scalability, performance

not covered

  • authentication
  • validating query parameter
  • how sensors will talk with API

covered

  • DB module design and development
  • system design
  • scalability

TECH STACk

Nodejs (no blocking, high performance) mongodb (high scalability, automatic scaling)