Skip to content

Mayukh69-gif/Blog-Site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Web Application

This is a simple blog web application built with Node.js, Express.js, EJS, and MongoDB. It allows users to create, read, update, and delete blog posts. The data is stored in a MongoDB database.

Features

  • Add New Post: Users can add new blog posts with a title and description.
  • View All Posts: The homepage displays all blog posts.
  • Edit Post: Users can edit the title and description of a blog post.
  • Delete Post: Users can delete a blog post.

Prerequisites

  • Node.js (v14.x or later)
  • MongoDB (running locally or on a cloud service like MongoDB Atlas)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/blog-web-app.git
    cd blog-web-app
    
  2. Install the dependencies:

       npm install
    
  3. Ensure MongoDB is running locally or provide a MongoDB URI if using a cloud service.

  4. Start the server

       npm start
    
  5. Open your browser and navigate to http://localhost:3000 to see the application.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published