Skip to content

A little user and workout management API with Python and Django

Notifications You must be signed in to change notification settings

robotkala/chewbacca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello!

This is a little Django user management system.

The purpose of this assignment was to create a system (REST API), where you can create and edit users, exercises, daily plans and workout plans.

A plan has a name and consists of several (workout) days.
A day can have multiple exercises that you should perform that day.
A plan can be assigned to one or more user(s).
Whenever a user is assigned to a workout plan, he(she) should receive an email confirmation.
Whenever a plan is modified, the user(s) connected should be notified of the change by mail.

I created an additional population script (population_script.py) to create an example set.

I used the Django REST framework toolkit for this task. I tried to use as little of it as possible to make it as native Django as possible. I think I did good job in that as in I used it mainly for displaying purposes. As such, the UI used comes from the framework. I focused mainly on the practicality and the logic behind this exercise.

In my opinion it works great. If you have any questions then let me know!

May the Force be with you.

python manage.py makemigrations clients
python manage.py migrate
python manage.py runserver
python population_script.py

127.0.0.1:8000/clients/ for clients
127.0.0.1:8000/workout_plans/ for workout plans

I did not create additional views for exercises or their plans as the displaying of the data was not my focus.

About

A little user and workout management API with Python and Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages