Skip to content

A simple REST example using Python. This API is used in to separate applications I made which include a Fitness App and a Shopping site with DialogFlow integration.

Notifications You must be signed in to change notification settings

avigael/fitness-shopping-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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

A simple REST example using Python. This API is used in to separate applications I made which include a Fitness App and a Shopping site with DialogFlow integration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages