API to access rocket engine testing data
GET /api/getIds- get ids of every file currently in databaseGET /api/getAll- get contents of every fileGET /api/getOne/id- get contents of file with specified idPOST /api/addOne- add one file to databaseDELETE /api/delete/id- delete file with specified id
git clone https://github.com/dawid0planeta/spaceApi.git
cd spaceApi
python3 -m venv venv
. venv/bin/activate
pip3 install Flask
export FLASK_APP=rocket_api
export FLASK_ENV=development
flask db-init
flask run