/Node-Mongo-API-Boilerplate

A boilerplate for Node and Mongo with essential functionalities

Primary LanguageJavaScript

NodeJS Boilerplate

This boilerplate contains

  1. MongoDB connection
  2. User Create, Login, Update and sync with MongoDB
  3. Async handler in requests
  4. JWT Authentication
  5. Password hashing with salt
  6. Error handlers for auto throwing 404 and 500 as needed
  7. File upload + metadata storage in Mongo
  8. File download using download id

Tests

Check out testing.MD which has cURL commands to test out the routes.