An open API service indexing awesome lists of open source software.

https://github.com/abdulhadishah/blog-app

A minimal blog application built with Node.js, Express, and EJS.
https://github.com/abdulhadishah/blog-app

backend crud ejs express nodejs

Last synced: 3 months ago
JSON representation

A minimal blog application built with Node.js, Express, and EJS.

Awesome Lists containing this project

README

          

# 📝 Blog App

A minimal blog web application built using Node.js, Express, and EJS. Users can create, view, edit, and delete blog posts during a session.

## ✨ Technologies

- `Node.js`
- `Express`
- `EJS`
- `HTML`
- `CSS`

## 🚀 Features

- Create new blog posts
- View all posts on the home page
- Edit existing posts
- Delete posts
- Clean, calm, minimal UI
- Responsive layout for desktop and mobile

## 📍 The Process

This project was built as the **Day 26 capstone** of the *100 Days of Python Code* course and represents my first complete backend-focused application.

The goal was to combine everything learned up to this point, especially concepts related to backend development with Express. The application uses in-memory storage instead of a database, meaning posts do not persist between sessions.

While building this project, I learned how to handle form submissions, work with POST requests, and implement full CRUD functionality. I also gained a clearer understanding of how to uniquely identify posts using IDs, and how to correctly update and delete specific entries using array methods such as `find`, `findIndex`, and iteration with `forEach`.

A significant part of this project involved problem-solving through documentation, Googling, and Stack Overflow. Styling was intentionally kept minimal and calm to focus on clarity, usability, and structure rather than visual complexity.

## 🚦 Running the Project

1. Clone the repository
2. Install dependencies: `npm install`
3. Start the server: `node app.js`
4. Open `http://localhost:3000` in your browser
5. Create, edit, and delete blog posts

## 🎞️ Preview

https://github.com/user-attachments/assets/9a5d8c6a-1018-4f44-a60e-7baf8d9ee9e7