A subscriber server that subscribe to a publisher topic and receives any event or message on it supplied endpoint any time an event/message is publish to that topic
- NodeJS - A cross-platform JavaScript runtime
- ExpressJS - NodeJS application framework
- MongoDB - A relational database management system
- Mongoose ORM - Elegant MongoDB object modeling for Node.js
-
Clone or fork repo
- git clone https://github.com/josephmbassey/notifier-subscriber-api.git - cd notifier-subscriber-api
-
Create/configure
.env
environment with your credentials. A sample.env.example
file has been provided. Make a duplicate of.env.example
and rename to.env
, then configure your credentials (ensure to provide the correct details). After configuring your database:- npm install
-
Run
npm run dev
to start the server and watch for changes