A lightweight blog application built with Node.js, Express, and EJS templates. It provides basic CRUD for posts, simple views for listing and reading posts, and a minimal design for quick prototyping and learning.
- Create, read, edit, and delete blog posts
- Server-side rendered views with EJS
- Static assets served from
public/and Tailwind-style utilities viainput.css - Simple, easy-to-follow project structure suitable for learning or extension
- Install dependencies:
npm install
- Run the app in development (nodemon recommended):
npx nodemon server.js
Or start normally:
node server.js
server.js— Express app entrypointpublic/— static files (CSS, client assets)src/— source styles (input.css)views/— EJS templates for pages and partials
- Open your browser at
http://localhost:3000(or the port printed when starting the server). - Use the provided UI to create and manage posts. The views include index, full-post, edit-post, and simple contact/post pages.
- This repo is intended as a learning / demo project. For production use, add proper validation, authentication, and persistent storage.
This project is provided as-is for educational purposes. If you have questions or want help extending it, open an issue or contact the maintainer.