Skip to content

Code used for live demo of APIs using flask for EECS 398 Winter 2018 at University of Michigan, Ann Arbor

License

Notifications You must be signed in to change notification settings

tarunsk/eecs398-flask-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To-Do List Sample Application with Flask

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.

Setup

Requirements

This application is written in Python 3.7.0 and uses virtualenv to manage a virtual environment. To install virtualenv:

$ pip3 install virtualenv

Setup Instructions

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

Running Locally

By default this application will run on 0.0.0.0:5000. To start a local instance:

$ ./app.py

About

Code used for live demo of APIs using flask for EECS 398 Winter 2018 at University of Michigan, Ann Arbor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published