Skip to content

AlexMaryW/fitness-shopping-rest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API Example

This project is written in Python. To run this project please make sure you have Python installed on your machine.

This REST API is written in Python using Flask and several other libraries. The purpose of this API is to create users, authenticate them with tokens, and store their information as well as contain information on food items and shopping items for two other projects I made. These projects include a Fitness App using React Native and a Shopping Website which implements a DialogFlow assistant.

Using API

You can read more about how to use the API in the /fitness and /shopping directories.

Note: This API is being hosted on a free service provided by Heroku. So it may take a while to start up the server. (Usually 30s - 1min)

Running Locally

Download Repository

$ git clone https://github.com/avigael/fitness-shopping-rest.git
$ cd fitness-shopping-rest

Optional: Create a virtual enviroment

Note: Only avaliable in Python 3.3 and above

$ python -m venv venv
$ source venv/bin/activate

Install Requirements:

$ pip install -r requirements.txt

Run the Program

$ python api.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%