/Blogify

This is a simple blog management system that allows users to register, login, create, view, and delete blog posts. It's built using Express.js, EJS templating engine, PostgreSQL for the database, and Bootstrap for styling.

Primary LanguageEJS

Blogify

Blog Management System

This is a simple blog management system that allows users to register, login, create, view, and delete blog posts. It's built using Express.js, EJS templating engine, PostgreSQL for the database, and Bootstrap for styling.

You can view this site at... https://blog-management-system-3rez.onrender.com

Features

  • User registration and login with password hashing for security.
  • Dashboard page for logged-in users to view and manage their blog posts.
  • Add new blog posts with a title and content.
  • Delete existing blog posts.
  • Responsive design for a seamless user experience across devices.

Demo

Screenshot (82) Screenshot (83) Screenshot (84) Screenshot (87) Screenshot (88)

Insert gif or link to demo

Prerequisites

Before running the application, ensure you have the following installed:

  • Node.js and npm
  • PostgreSQL

Installation

Clone the repository:

  git clone <repository-url>

Install dependencies:

  npm install
  • Set up the PostgreSQL database by executing the SQL script located in db.sql.

  • Create a .env file based on the .env.example file and provide the necessary environment variables, such as database connection details and session secret.

Usage

Start the server:

npm start

Contributing

Contributions are welcome! Feel free to submit pull requests or open issues for any bugs, feature requests, or improvements.

License

This project is licensed under the MIT