Skip to content

Files

Latest commit

 

History

History

API

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

🏋️‍♂️ 💪 Fitness Kiosk API 💪 🏋️‍♀️

This directory contains the API for the fitness client. It is built using the flask python library.

The API can also be hosted. For this project, this API was hosted on heroku.

Sample http get request - http://127.0.0.1:5000/v1/resources/nutrition/bmi?name=Underweight

Query Parameters

  1. Underweight
  2. Overweight
  3. Normal

⚠️ You can also get a list of Workouts from the API.

You can find more information by examining the app.py and create_fitnessdatabase.py files.

The app.py file contains the code for the http requests and the create_fitnessdatabase.py file contains the code that creates the necessary tables for the API.