A clean, full-CRUD blog application built with Node.js, Express, MongoDB (Mongoose), EJS, and Bootstrap - users can create, view, edit, and delete posts via a simple, responsive UI.
- Node.js
- Express
- MongoDB
- Mongoose
- EJS
- Bootstrap 5
- Custom CSS
- Full CRUD support (Create, Read, Update and Delete)
- Server-side rendering using EJS and
express-ejs-layouts - Responsive and clean UI with Bootstrap 5
- Centralized error handling using async wrapper, global error middleware, and a custom Bootstrap-styled error page
- Server-side form validation with user-friendly feedback and preserved form input
- MongoDB database powered by Mongoose models
- Optional image URLs for posts
- RESTful routing following standard web patterns
- Clone the repository
git clone https://github.com/Misba0019/ThoughtForge.git
cd ThoughtForge- Install dependencies
npm install- Start the server
npm run dev(or use nodemon index.js directly if you prefer)
- Open in browser:
http://localhost:3000
- User authentication (signup, login, logout)
- Authorization (only the author can edit/delete their posts)
- Image upload support
- Search functionality and basic categories/tags
Images sourced from Unsplash.
This project is licensed under the MIT License - see the LICENSE file for details.





