A RESTful API built using Flask and SQLAlchemy to perform CRUD operations on student records.
- Add new student (POST)
- Get all students (GET)
- Get student by ID (GET)
- Update student details (PUT)
- Delete student (DELETE)
- SQLite database integration
- Logging for debugging
- Error handling with proper HTTP status codes
- Python 3.11
- Flask
- Flask-SQLAlchemy
- SQLite
- Git
- Postman
| Method | Endpoint | Description |
|---|---|---|
| POST | /students | Add new student |
| GET | /students | Get all students |
| GET | /students/ | Get student by ID |
| PUT | /students/ | Update student |
| DELETE | /students/ | Delete student |
git clone https://github.com/xeseing/student-management-api.git
cd student-management-api
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python app.py