A full-stack blogging platform built using the MERN (MongoDB, Express.js, React, Node.js) stack. Users can create, edit, delete, like, and comment on blog posts with an intuitive UI and a rich text editor.
- β‘ Vite β Fast build tool for modern React apps
- β React.js β Component-based UI development
- π React Router β Client-side routing
- π¨ Tailwind CSS / Custom CSS β Styling
- π Node.js β JavaScript runtime for the server
- π Express.js β Lightweight web framework
- π MongoDB & Mongoose β NoSQL database for scalable data storage
- content - String
- author - mongoose.Schema.Types.ObjectId
- likes - mongoose.Schema.Types.ObjectId
- comments - [user- mongoose.Schema.Types.ObjectId, test - String, createdAt - Date]
- shares - mongoose.Schema.Types.ObjectId
- createdAt - Date
- username - String
- email - String
- passward - String
- createdAt - Date
- πΉ Create User - POST /createuser
- πΉ Get All Users - GET /users
- πΉ Get User by Username - GET /users/byUsername/:username
- πΉ Create Blog Post - POST /addblog
- πΉ Get All Blog Posts - GET /blogs