A minimal blog web application built with Express and EJS. This repository contains a simple starter app for creating, editing, and viewing posts — ideal for learning Express, templating with EJS, and small full-stack workflows.
Developer: Yashswani Soni
- Server-rendered pages using
EJS - Simple CRUD-style editing flow (index + edit views)
- Lightweight: no database required for the starter (file/ memory-backed as provided)
- Node.js (v18+ recommended)
- npm (or yarn)
- Install dependencies
npm install- Run the app
Development (auto-restart):
npm run devProduction / simple run:
npm startThe app listens on the port configured in index.js (commonly 3000). Open http://localhost:3000 in your browser.
index.js— app entry point and server setupviews/— EJS templates (index.ejs,edit.ejs)public/styles/— static CSS (main.css)package.json— scripts and dependencies
- The project uses
expressandejs. If you add persistent storage, considersqlite,lowdb, or a hosted DB. - Linting and tests are not configured; consider adding
eslintand a test runner for larger projects.
Contributions are welcome. For small projects like this:
- Fork the repo
- Create a feature branch
- Open a pull request with a clear description
This project is provided as-is. Add a license file if you plan to open-source it publicly.
If you'd like, I can also: add a LICENSE, wire up basic tests, or create a sample commit. What would you like next?