A ready-to-use boilerplate for REST API Development with Node.js, Express, and MongoDB. This is a basic API skeleton written in JavaScript ES2015. Very useful to building RESTful web APIs for your front-end platforms like Android, iOS or JavaScript frameworks (Angular, Reactjs, etc). This project will run on NodeJs using MongoDB as a database. I tried to maintain the code structure easily as any beginner can also adopt the flow and start building an API. The project is open for suggestions, Bug reports and pull requests. Basic Authentication (Register/Login with hashed password). Account confirmation with 4 (Changeable) digit OTP. Email helper ready just import and use. JWT Tokens, make requests with a token after login with Authorization header with value Bearer yourToken where yourToken will be returned in Login response. Pre-defined response structures with proper status codes. Included CORS. Book example with CRUD operations. Validations added.

Features

  • Basic Authentication (Register/Login with hashed password)
  • Account confirmation with 4 (Changeable) digit OTP
  • Email helper ready just import and use
  • Pre-defined response structures with proper status codes
  • Book example with CRUD operations
  • Included API collection for Postman

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Nodejs Expressjs MongoDB API Project

Nodejs Expressjs MongoDB API Project Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Nodejs Expressjs MongoDB API Project!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Frameworks, JavaScript Web Development Software, JavaScript API Clients

Registered

2022-11-01