This appication is inspired and based on the tutorial by Miguel Grinberg. It was used as a live demo during a staff lecture of EECS 398 Computing for Computer Scientists, taught at the University of Michigan, Ann Arbor.
The main purpose of this application is to demonstrate how to build a basic RESTful API in Python using Flask.
This application is written in Python 3.7.0 and uses virtualenv
to manage a virtual environment. To install virtualenv
:
$ pip3 install virtualenv
Start by cloning this repository into the desired location and then navigate into the directory. Then setup a virtual environment:
$ python3 -m virtualenv venv
Activate the virtual environment:
$ . venv/bin/activate
Install Flask:
$ pip install Flask
By default this application will run on 0.0.0.0:5000
. To start a local instance:
$ ./app.py