- Python 3.10.x
- Django Rest Framework 3.15.x
- Docker 23.0.5
- Docker Compose v2.17.3
- PostgreSQL 14.6
- JWT authorizarion
- Create Coach Schedule
- Create Record (handles time clashes)
Database Visualizer link
Clone this repository:
$ git clone git@github.com:satqan/ScheduleManager.git && cd ScheduleManagerBuild and Start Docker containers:
$ docker-compose up --buildNow you can access the application at http://localhost:8000.
POST /users/| Parameter | Type | Description |
|---|---|---|
username |
string |
Required. |
password |
string |
Required. |
first_name |
string |
|
last_name |
string |
|
role |
string |
Required. |
date_of_birth |
string |
Birth date of a coach |
gender |
string |
gender of a coach |
gyms |
string |
gyms related to a coach |
POST /schedules/| Parameter | Type | Description |
|---|---|---|
coach |
string |
Required. coach ID |
gym |
string |
Required. gym ID |
weekday |
string |
Required. week day for given schedule |
start_time |
string |
Required. |
end_time |
string |
Required. |
POST /records/| Parameter | Type | Description |
|---|---|---|
coach |
string |
Required. coach ID |
client |
string |
Required. client ID |
gym |
string |
Required. gym ID |
start_time |
string |
Required. desired start time of training session |
end_time |
string |
Required. desired end time of training session |