https://github.com/aymen016/student-management-system
This system efficiently manages student data using MongoDB as the backend database and a Flask-powered backend. It features a simple frontend interface for seamless user interaction , allowing users to perform CRUD operations โจ
https://github.com/aymen016/student-management-system
bootstrap css flask html javascript mongodb postman pymango
Last synced: 5 months ago
JSON representation
This system efficiently manages student data using MongoDB as the backend database and a Flask-powered backend. It features a simple frontend interface for seamless user interaction , allowing users to perform CRUD operations โจ
- Host: GitHub
- URL: https://github.com/aymen016/student-management-system
- Owner: Aymen016
- License: mit
- Created: 2024-12-10T15:08:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-31T16:18:53.000Z (about 1 year ago)
- Last Synced: 2024-12-31T17:23:35.615Z (about 1 year ago)
- Topics: bootstrap, css, flask, html, javascript, mongodb, postman, pymango
- Language: HTML
- Homepage:
- Size: 2.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ Student Management System
## ๐ Overview
This project implements a basic **Student Management System** using **Flask** as the web framework and **MongoDB** as the database. The application provides CRUD (Create, Read, Update, Delete) operations to manage student data.๐
---
## ๐ ๏ธ Task 1: MongoDB Operations
### 1๏ธโฃ Create a `students` Collection
- A MongoDB collection named `students` was created to store student data.๐
### 2๏ธโฃ Insert Student Data
- Sample student documents were inserted into the `students` collection with fields like:
```json
{
"name": "John Doe",
"age": 20,
"grade": "A"
}
```
### 3๏ธโฃ Query All Students Older Than 18
- MongoDB query was used to retrieve all students whose age is greater than 18:
```json
{ "age": { "$gt": 18 } }
```
### 4๏ธโฃ Update a Studentโs Age
- The age of a specific student was updated using MongoDBโs `update_one` method.๐
### 5๏ธโฃ Delete a Student by Name
- A student document was deleted based on their `name` field.๐๏ธ
---
## ๐ฏ Functionalities of the Application
https://github.com/user-attachments/assets/c28342b4-d681-464a-85c9-4c10ef3d6c9c
### โ Add Student
- A form is provided to insert new student records into the database.๐

### ๐ View Students
- Displays all students in the `students` collection with filtering and sorting options.๐

### ๐๏ธ Update Student Age
- Updates the `age` field of a specific student.๐

### โ Delete Student
- Deletes a student record based on their name.๐ฎ

---
## ๐ป How to Run the Application
### ๐ ๏ธ Install Required Dependencies
Run the following command to install dependencies:
```bash
pip install flask pymongo
```
## ๐ Set Up MongoDB
1. Ensure MongoDB is running locally or on a cloud platform (e.g., MongoDB Atlas).๐
2. Update the connection string in the Flask application to point to your MongoDB instance.๐
---
## ๐ Run the Flask Application
Run the following command to start the application:
```bash
flask run
```
---
## ๐ Access the Application
Open your browser and navigate to:
๐ http://localhost
---
## ๐จโ๐ป Contributor
**Aymen Baig**
A passionate developer and aspiring Data Scientist specializing in Machine Learning and Natural Language Processing. Experienced in building lightweight and efficient chatbot systems for small businesses. Always open to collaborations and learning new technologies.
- **GitHub**: [Aymen Baig](https://github.com/Aymen016/)
- **LinkedIn**: [Aymen Baig](https://www.linkedin.com/in/aymen-baig-700a06284/)
---
## ๐ License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
๐ Happy Coding! โจ