Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS-312-MiniProject-1

A simple blog web application built with Node.js, Express.js, and EJS. This application allows users to create, view, edit, and delete blog posts without requiring a database.

Features

  • Create new blog posts with title, author, and content
  • View all blog posts on the homepage
  • Edit existing blog posts
  • Delete blog posts
  • Responsive design for mobile and desktop

Installation

  1. Make sure you have Node.js installed on your system
  2. Clone or download this project
  3. Navigate to the project directory
  4. Install dependencies:
    npm install

Running the Application

  1. Start the server:

    npm start
  2. Open your browser and navigate to http://localhost:3000

Usage

  1. Create a Post: Fill out the form on the homepage with the post title, your name, and the post content, then click "Create Post"

  2. View Posts: All posts are displayed on the homepage with creation time and author information

  3. Edit a Post: Click the "Edit" button on any post to modify its content

  4. Delete a Post: Click the "Delete" button on any post to remove it (with confirmation)

About

basic blog web application using Node.js, Express.js, and EJS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages