Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.11 KB

Readme.md

File metadata and controls

37 lines (28 loc) · 1.11 KB

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