/PythonRestServer

Is an example on how to create a python rest server api for the master of the UAB.

Primary LanguagePython

Example of Python Flask Application

An example Python client application API using the flask microframework.

Clone the repository, create a virtual environment in the directory, and start using it:

cd PythonRestServer && virtualenv .
source bin/activate

Then, install the required packages (flask):

pip install -r requirements.txt

You're good to go. Start it with:

python app.py

Using Unittest

$ pip install unittest2
$ python -m unittest