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.
- 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
- Make sure you have Node.js installed on your system
- Clone or download this project
- Navigate to the project directory
- Install dependencies:
npm install
-
Start the server:
npm start
-
Open your browser and navigate to
http://localhost:3000
-
Create a Post: Fill out the form on the homepage with the post title, your name, and the post content, then click "Create Post"
-
View Posts: All posts are displayed on the homepage with creation time and author information
-
Edit a Post: Click the "Edit" button on any post to modify its content
-
Delete a Post: Click the "Delete" button on any post to remove it (with confirmation)