Skip to content

PrincePatel-dev/Student-Management-System--Basic-CRUD-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Student Management System (Basic CRUD)

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.


Features

  • 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

Tech Stack

  • Backend: Node.js, Express.js
  • Database: MongoDB Atlas (cloud)
  • Templating: EJS
  • ODM: Mongoose
  • Styling: Custom CSS

How to Run

  1. Clone the repository:

    git clone <your-repo-url>
    cd Student_Managment
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    • Create a .env file in the root directory.
    • Add your MongoDB Atlas URI:
      MONGO_URI=mongodb+srv://<username>:<password>@<cluster-url>/<dbname>?retryWrites=true&w=majority
  4. Start the server:

    npm start

    The app will run on http://localhost:3000


Folder Structure

Student_Managment/
├── models/
│   └── students.model.js
├── views/
│   ├── student.ejs
│   ├── create.ejs
│   └── edit.ejs
├── .env
├── .gitignore
├── package.json
├── package-lock.json
└── README.md

Screenshots

Student List Page

Create Student Page

Edit Student Page


Next Steps

  • 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.

Author

Prince Patel


License

This project is licensed under the ISC License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Generated from github/codespaces-blank