CodeForBaltimore / CitySync

Bringing together Baltimore non-profits with smart data.
Apache License 2.0
1 stars 3 forks source link

Flaskapi merge #4

Closed SavSanta closed 4 years ago

SavSanta commented 4 years ago

Description

This pull requests implements a functional API backend using the Flask's builtin test webserver, a test SQLite3 database†, and a DOCKERFILE that can be used to build and run an image using alpine linux.

There are few routes for calls established and can be interfaced with which is briefly documented at the main index page once the server is stood up as well as on this github branch documentation using the curl program (available typically on Linux/Unix/Mac. Windows users should be able to similarly utilize something like Invoke-WebRequest).

† Note that the SQLite3 database backend files are not attached as it is meant for usage as testing and we're still missing one contributor's code for NTEE normalized names. It is attached for usage here if you wish to download and add it to the project directory.

SavSanta commented 4 years ago

SQLite3 TEST Database -- database-devel.sqlite3.zip