Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 505 Bytes

File metadata and controls

35 lines (23 loc) · 505 Bytes

API Requirements

Flask

Install python modules Flask and MySQL-python

pip install Flask

and

pip install MySQL-python

Testing API

To make calls to the API for testing purposes, a simple script was designed with node. To install node:

apt-get install -y nodejs

To execute the tests, the node modules included in the package.json must first be installed with the node package manager (npm):

npm install

To run the test:

node api_test.js