A simple, content-focused blog application built with Node.js, Express and EJS.
- Create, read, update and delete blog posts
- Clean, server-side rendered templates with EJS
- Modular Express routes
- Simple styling with your favorite CSS framework (or plain CSS)
- Node.js (>=14)
- Express ≥4.x
- EJS templating engine
- Node.js v14 or higher
- npm (comes with Node.js)
- Clone the repo
git clone https://github.com/ado1d/blog-app.git
cd blog-app
- Install dependencies
npm install
Start the development server:
nodemon index.js
Open a browser and enter the address
http://localhost:3000
Blog App
├─ index.js
├─ LICENSE
├─ package-lock.json
├─ package.json
├─ public
│ ├─ Image
│ │ ├─ logo.png
│ │ └─ window-content.svg
│ └─ styles
│ └─ main.css
├─ README.md
└─ views
├─ allposts.ejs
├─ contact.ejs
├─ create.ejs
├─ index.ejs
├─ partials
│ ├─ footer.ejs
│ └─ header.ejs
└─ post.ejs
- Fork this repository
- Create a feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -m "Add some feature") - Push to the branch (
git push origin feature/YourFeature) - Open a Pull Request
Please ensure your code follows existing style patterns