A simple student management web application built with Node.js, Express, MongoDB (Atlas), and EJS. This is my first full-stack project after learning the MERN stack, focusing on basic CRUD (Create, Read, Update, Delete) operations for student records.
- List all students in a beautiful table
- Add new students
- Edit existing student details
- Delete students
- All operations are performed on different routes
- Responsive and modern UI with EJS templates
- Backend: Node.js, Express.js
- Database: MongoDB Atlas (cloud)
- Templating: EJS
- ODM: Mongoose
- Styling: Custom CSS
-
Clone the repository:
git clone <your-repo-url> cd Student_Managment
-
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.envfile in the root directory. - Add your MongoDB Atlas URI:
MONGO_URI=mongodb+srv://<username>:<password>@<cluster-url>/<dbname>?retryWrites=true&w=majority
- Create a
-
Start the server:
npm start
The app will run on http://localhost:3000
Student_Managment/
├── models/
│ └── students.model.js
├── views/
│ ├── student.ejs
│ ├── create.ejs
│ └── edit.ejs
├── .env
├── .gitignore
├── package.json
├── package-lock.json
└── README.md
- This was my first full-stack CRUD project after learning MERN basics.
- Next, I plan to build a Google Drive Clone with advanced features and authentication.
Prince Patel
This project is licensed under the ISC License.


