An open API service indexing awesome lists of open source software.

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 โœจ

Awesome Lists containing this project

README

          


Image 1
Image 2

# ๐Ÿ“ 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.๐Ÿ“

![add-students](https://github.com/user-attachments/assets/62ca6d45-a5c0-4af0-a858-c912f1673fff)

### ๐Ÿ“‹ View Students
- Displays all students in the `students` collection with filtering and sorting options.๐Ÿ”
![students-list](https://github.com/user-attachments/assets/2ae5ecfb-3a69-43bf-a647-a625f237f084)

### ๐Ÿ–Š๏ธ Update Student Age
- Updates the `age` field of a specific student.๐Ÿ•’
![update-students](https://github.com/user-attachments/assets/a7374e3b-1e61-44c5-93ca-49c77cc9b909)

### โŒ Delete Student
- Deletes a student record based on their name.๐Ÿšฎ
![deletion-student](https://github.com/user-attachments/assets/b992116c-0076-4579-8036-44462c41c6f9)

---

## ๐Ÿ’ป 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! โœจ