MTM is an app used in the course CMPUT401 at the University of Alberta. The application was developed by Diego Serrano during the Winter of 2018.
First clone the application code into any directory on your disk (preferably, not using spaces in the folder structure)
$ git clone https://github.com/dfserrano/MTM-API.git
$ cd MTM-API
Install virtualenv with pip
$ pip install virtualenv
Create a new virtualenv and activate it
$ virtualenv venv
$ source venv/bin/activate
Install the required libraries: flask-restplus, Flask-SQLAlchemy, and flask-cors
pip install flask-restplus
pip install Flask-SQLAlchemy
pip install -U flask-cors
Run the application:
./run.sh
The application will be available at port 8888. Then, to access the Swagger API documentation, the address you have to type is:
These resources were used for the creation of this app: