A simple command-line based student management system built with Python and MongoDB.
This project demonstrates basic CRUD operations (Create, Read, Update, Delete) along with a sequential student ID generator.
- ➕ Add new students with name, age, grade, contact info, and enrollment date
- 📜 List all students sorted by their student ID
- 🗑 Delete students by ID
- ✏ Update student details (only change fields you want)
- 🔢 Auto-incrementing student ID using a MongoDB counter
- Python 3
- MongoDB (local or cloud)
- pymongo (Python MongoDB driver)
Make sure you have MongoDB installed and running locally:
- Download: https://www.mongodb.com/try/download/community
- Default port:
27017
pip install pymongo
git clone https://github.com/your-username/student-management-system.git cd student-management-system
###4️⃣ Run the program
python student_management.py