A responsive multi-page website + backend demonstrating a modern public transportation system for a rapidly growing city.
Tech stack: Node.js, Express, SQLite, Bootstrap.
This project is a college assignment / demo showcasing:
- Multi-page, responsive frontend built with Bootstrap (
public/*.html). - Backend API and server built with Express (
server.js). - Lightweight SQLite database (
contacts.db) to store contact form submissions. - Simple Admin page to view contact submissions (
public/admin.html).
Pages included:
index.html— Home / overviewproblem.html— Problem statementsystem.html— Proposed system / modulesbenefits.html— Benefits & outcomescontact.html— Contact form (submits to backend)admin.html— View submitted messages (for demo; add auth for production)
- Node.js (v16+ recommended)
- npm (comes with Node.js)
- Clone the repo:
git clone https://github.com/ApurveKaranwal/DT_Assignment.git cd DT_Assignment - Install dependencies:
npm install
- Start the server:
node server.js
- Open the site:
http://localhost:3000
DT_Assignment/
├─ server.js
├─ package.json
├─ contacts.db (auto-created)
├─ public/
│ ├─ index.html
│ ├─ problem.html
│ ├─ system.html
│ ├─ benefits.html
│ ├─ contact.html
│ ├─ admin.html
│ └─ css/style.css
└─ README.md- Uses SQLite file contacts.db at project root.
- Table contacts stores: id, name, email, message, created_at.
- Use DB Browser for SQLite or the sqlite3 CLI to inspect/edit.
Apurve Karanwal — DT Assignment
https://dt-assignment.onrender.com/