For this challenge we'll be creating a HTTP notification system. A server (or set of servers) will keep track of topics -> subscribers where a topic is a string and a subscriber is an HTTP endpoint. When a message is published on a topic, it should be forwarded to all subscriber endpoints.
To install, using:
npm install
All endpoints are in src > api > index.js
To start, use:
npm start
src ┣ api // Contains the controller file where all the codes that do the actual work are. ┃ ┗ ... ┣ config // Contains mongodb URLs for development and production, ... ┃ ┣ config ┃ ┗ ... ┣ helpers // Contains utility files ┃ ┣ utility ┃ ┗ ... ┣ models // Contains all mongodb models ┃ ┗... ┣ routes // Contains route files ┃ ┗... ┣ index.js