Skip to content

melvincwng/covid19-tracker-app-express

Repository files navigation

covid19-tracker-app-express

This is the backend application which I built using Express/Node.js and MongoDB/Mongoose.

It is used as one of the APIs for Covid19-SG.

Backend API: https://covid19-tracker-app-express.herokuapp.com/

Important Note

Using 0.0.0.0/0 for the IP Whitelist on MongoDB Atlas is NOT RECOMMENDED.

Instead, an alternative solution could be to use QuotaGuard Static IP Address to whitelist the IP address for the outbound traffic from the Express/Node.js application to MongoDB Atlas.

This is recommended because 0.0.0.0/0 makes your DB publicly accessible, and hence vulnerable to attacks.

Please refer to the References section for more information.

References:

  1. Deploying MongoDB on Heroku
  2. QuotaGuard Heroku Plugin that allows you to route inbound/outbound traffic through a static IP address that is whitelisted on your MongoDB Atlas cluster
  3. QuotaGuard Dashboard to view your Request & Bandwidth usage
  4. MongoDB Documentation on IP Whitelist
  5. MongoDB Security Checklist - Limit Network Exposure
  6. MongoDB Forums

Releases

No releases published

Packages

No packages published

Languages