This repository contains a simple Node.js blog API developed for educational purposes, particularly for teaching on Udemy. It provides a basic foundation for understanding how to create RESTful APIs using Node.js, Express.js, and MongoDB.
Install MongoDb Database
git clone [email protected]:jahidhiron/node-blog-api.git
cd node-blog-api
npm install
npm start
- Authentication and Authorization
- Add, Update, Delete blog posts
- Search and filter blogs with pagination
- Sending email
- Flexible and easy-to-use API endpoints
- Scalable and well-documented codebase
Look at 'api-collection/api-collection.json' file for API end point
- Used
node.js
runtime environment for server side Express.js
web framework- To validate request, I have used
express-validator
SendGrid
is used to send email
Why nodejs/Express?:
Node. js uses non-blocking, event-driven I/O to remain lightweight and efficient in the face of data-intensive real-time applications that run across distributed devices.- I have used pagination instead of loading all data at a time. Initially, it loads 10 items
- Authentication, authorization, user verify, recover password are added to this app
This project is licensed under the MIT License.