This project is a Node.js based back-end API for managing my blog posts and comments. Built with express and MongoDB. Front-ends consuming this API:
- Node.js
- Express
- MongoDB with Mongoose
- Docker and Github Actions for deployment
- CRUD operations for blog posts and comments
- JWT-based authentication with role-based access control
- User management through bcrypt password hashing and verification
- Server settings for comment creation and signup management
- Profanity detection middleware
- JWT Authentication using Passport.js
- Role-Based Access Control (
adminanduserroles)
- Bcrypt for password hashing and verification
- Comment creation and signup configuration: The server settings allow the enabling or disabling of comment creation and user signups.
- Profanity middleware: I leveraged ProfanityAPI for detecting profanity.