View Code? Open in Web Editor
NEW
A RESTful API for managing students and courses
Python 98.79%
Dockerfile 1.21%
student-course-mgmt-system's Introduction
Student & Course Management System
- This codebase is a RESTful web API to manage students and their courses. It is built on Django, Postgres and Docker.
- Follow these simple steps to set up the Django server locally.
- Clone the repo using
git clone https://github.com/matrharr/student-course-mgmt-system.git
.
cd student-course-mgmt-system/student-course-mgmt-system
.
- Run
docker-compose up
to setup the database and run the server.
- Visit
localhost:8000/students
to see a list of all students (more endpoints listed below).
- Return a list of all courses.
GET /courses?title=:course_title
- Return all courses that match searched title.
DELETE /courses/:course_id
- Return a list of all students.
GET /students/:student_id
GET /students?name=:student_name
- Return all students that match searched name.
DELETE /student/:student_id
student-course-mgmt-system's People
Contributors
Watchers