A simple web-based Student Record Management System built using Node.js, Express, and EJS.
SRMS2/
│
├── src/
│ ├── app.js
│ ├── routes/
│ │ └── studentRoutes.js
│ ├── controllers/
│ │ └── studentController.js
│ ├── models/
│ │ └── studentModel.js
│ └── views/
│ ├── home.ejs
│ ├── search.ejs
│ ├── add.ejs
│ ├── update.ejs
│ └── partials/
│ ├── header.ejs
│ └── footer.ejs
│
├── public/
│ ├── css/
│ │ └── style.css
│ ├── js/
│ │ └── script.js
│ └── images/
│
├── package.json
├── package-lock.json
└── README.md
- Node.js (v18 or above)
- npm
npm install
node src/app.jsThen open your browser and go to:
http://localhost:3000
- Add student records
- Search student records
- Update student data
- Delete student records
- EJS templating
- Express routing
In app.js:
app.set("views", path.join(__dirname, "views"));
app.set("view engine", "ejs");✅ Make sure your file exists at:
src/views/filename.ejs
✅ Pass data properly:
res.render("search", { student });Built by:
KISHOR GUNITHI
PATURU V N S GANESH CHARAN
DOGGA YASHWANTH
R.NITHIN
ANAND GOKUL KOTA
Tech Stack: Node.js, Express, EJS, HTML, CSS, JS