This repository contains:
- app.py - The Flask web application containing the API.
- csv_2_db.py - A Python file with some basic Sqlite3 helper functions.
- data - A folder containing the CSV file and sqlite3 database.
https://towardsdatascience.com/launch-your-own-rest-api-using-flask-python-in-7-minutes-c4373eb34239
This project uses Flask and Sqlite3. Go check them out if you don't have them locally installed.
$ pip install sqlite
$ pip install flask
$ git clone https://github.com/alkhalifas/flask-web-api
$ cd flask-web-api
$ python3 app.py