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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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