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.
- 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.
- 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
If you have any feedback, please reach out to us at [email protected]
this projet is under a MIT Licence