A Feature-Rich Full-Stack Blog Application
Blogify is a full-stack, dynamic blog platform built with Node.js, Express.js, MongoDB, and the EJS templating engine. It provides a secure and intuitive space for users to write, edit, and publish blog posts with ease. Blogify is designed with a strong focus on clean architecture, security, and usability.
-
🔐 User Authentication & Authorization
Register, log in, and manage sessions securely using best practices. -
✍️ Create, Edit, and Delete Blog Posts
Powerful blog editor supporting full CRUD operations. -
🛡️ Role-Based Access Control
Only the author of a post can modify or delete it. -
📄 Dynamic Frontend with EJS
Responsive and mobile-friendly UI powered by server-side rendering. -
📦 MongoDB Integration
Efficient NoSQL data handling for fast performance. -
🧩 Modular Code Structure
Clean, scalable, and maintainable codebase using MVC architecture.
| Technology | Usage |
|---|---|
| Node.js | Runtime Environment |
| Express.js | Backend Web Framework |
| MongoDB | Database |
| Mongoose | ODM for MongoDB |
| EJS | Templating Engine |
| bcrypt | Password Hashing |
| express-session | Session Management |
| connect-mongo | MongoDB-backed session store |
- Clone the repository
git clone [email protected]:AliyanA1/blog-app.git cd blog-app
Step 2: Install Dependencies npm install
Step 3: Set Up Environment Variables Create a .env file in the root directory and add: PORT=3000 SECRET=SECRETKEY
Step 4: Start the Application npm start