The aim of this project is to create a simple API using Flask and Connexion. Only GET methods have been implemented.
Python, Flask, Connexion, SQLAlchemy, Marshmallow
Please follow the instructions below to run this application.
1 - download this repo as a zip file and unzip it to your working directory.
2 - install Python 3.9 or later
https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment
python -m venv env
source env/bin/activate
pip install -r requirements.txt
pytest
cvrg.bat
python server.py
After these commands, you should be able to see the Swagger UI at http://localhost:5000/api/ui. All URL endpoints stated in the UI are functional. An unfinished Single Page Application is visible at http://localhost:5000.
On hold.
- consider adding functionality for all HTTP verbs.
- improve test suite
- finish Single Page Application
- extend with additional models