Skip to content

A full-CRUD blog app built with Node.js, Express, MongoDB, EJS, and Bootstrap.

License

Notifications You must be signed in to change notification settings

Misba0019/ThoughtForge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThoughtForge 🧠

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.


Technologies Used

  • Node.js
  • Express
  • MongoDB
  • Mongoose
  • EJS
  • Bootstrap 5
  • Custom CSS

Features

  • 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

Preview

Home Page

Home Page

All Posts

All Posts

Add Post

Add Product

Edit Post

Edit Post

Post Page

Post Page

Error Handling Preview

404 – Page Not Found
404 Error Page


Getting Started

  1. Clone the repository
git clone https://github.com/Misba0019/ThoughtForge.git
cd ThoughtForge
  1. Install dependencies
npm install
  1. Start the server
npm run dev

(or use nodemon index.js directly if you prefer)

  1. Open in browser:http://localhost:3000

Planned Improvements

  • User authentication (signup, login, logout)
  • Authorization (only the author can edit/delete their posts)
  • Image upload support
  • Search functionality and basic categories/tags

Credits

Images sourced from Unsplash.


License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A full-CRUD blog app built with Node.js, Express, MongoDB, EJS, and Bootstrap.

Topics

Resources

License

Stars

Watchers

Forks