Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fiereeinar/blog-api

A backend API for blog posts as well as comments and users
https://github.com/fiereeinar/blog-api

expressjs jwt-authentication mongodb mongoose nodejs

Last synced: 4 days ago
JSON representation

A backend API for blog posts as well as comments and users

Awesome Lists containing this project

README

        

# Blog API

A blog backend API built with Express, Node.js, Mongoose, and Cloudinary. It handles data management, image storage, and seamless integration with the frontend for a smooth blogging experience.

## Features

- Post Management
- User Authentication and Authorization
- Comment System
- Image Handling

## Technologies Used

- Express
- Nodejs
- MongoDB
- Mongoose
- Cloudinary

## Libraries Used

- [PassportJS](https://www.passportjs.org/) – Authentication middleware for Express.
- [bcryptjs](https://www.npmjs.com/package/bcryptjs) – For securing passwords by hashing and salting.
- [jsonwebtoken](https://www.npmjs.com/package/jsonwebtoken) – A proposed Internet standard for creating data with optional signature and/or optional encryption.
- [dotenv](https://www.npmjs.com/package/dotenv) – For keeping my database connection strings and API keys secret.
- [express-validator](https://www.npmjs.com/package/express-validator) – User input validation middleware.
- [cloudinary](https://cloudinary.com/) – Used for uploading/storing images
- [multer](https://www.npmjs.com/package/multer) – Node.js middleware for handling multipart/form-data, which is primarily used for uploading files.
- [express-async-handler](https://www.npmjs.com/package/express-async-handler) – Asynchronous exception-handling middleware.
- [cors](https://www.npmjs.com/package/cors) – Package for providing a Connect/Express middleware that can be used to enable CORS