Skip to content

A RESTful API built with Node.js, Express, and MongoDB for managing a blog system. It features user authentication with JWT, password hashing with bcrypt, and full CRUD operations for blog posts. This API serves as the backend for a complete blogging platform where users can create, read, update, and delete their own blog posts.

Notifications You must be signed in to change notification settings

Worketyamo-Students/Barthez_Blog_API_V2

Repository files navigation

Blog Management System - Backend

This is a RESTful API built with Node.js, Express, and MongoDB for managing a blog system. The API provides user authentication via JWT, password hashing with bcrypt, and full CRUD operations for blog posts. It serves as the backend for a blog platform where users can sign up, log in, and manage their own blog posts.

Features

  • User Authentication: Sign up, log in, and token-based authentication (JWT).
  • Password Hashing: Secure password storage - using bcrypt.
  • CRUD Operations: Create, read, update, and delete blog posts.
  • Send Email: send mail to all users when they are login in the plateform
  • MongoDB Database: Blog data stored using MongoDB.
  • Cross-Origin Resource Sharing (CORS) enabled for communication with a frontend.

Tech Stack

  • Node.js: JavaScript runtime for the backend. Express.js: Web framework for building the API.
  • MongoDB: NoSQL database for storing blogs and users.
  • prisma: ORM for MongoDB to define schemas and models.
  • JWT: JSON Web Token for secure authentication.
  • bcryptjs: Library for hashing user passwords.
  • Nodemailer: library to using to send mail

Feedback

If you have any feedback, please reach out to us at [email protected]

License

this projet is under a MIT Licence

MIT License

About

A RESTful API built with Node.js, Express, and MongoDB for managing a blog system. It features user authentication with JWT, password hashing with bcrypt, and full CRUD operations for blog posts. This API serves as the backend for a complete blogging platform where users can create, read, update, and delete their own blog posts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages