* Run unit tests with Github Actions on each push
* Change job timeout to 10 minutes
* Fix for sslmode in API connection string
* Select lists of suggestions or ngrams with /api or /api/ngrams respectively, JSONify ngrams response
* Added better documentation of API endpoints
* Switch from connection string to connection object in API
* OAP-64: Filter multi-line stopwords and ignore substring matches using regex
* added test case
* Combined api/config.env and database.ini into one root .env file. Needs documentation update!
* Adding default postgres credentials in .env for container tests, needs to be overwritten on DO deployment.
* documentation changes & removed unused scripts
---------
Co-authored-by: Max Zaremba <max.zaremba@gmail.com>
* basic config
* Add github action
* Fix makefile for linux and variable python (#27)
* fix makefile
* remove out
* add to gitignore
* Fix makefile for linux and variable python (#27)
* fix makefile
* remove out
* add to gitignore
* Fix dockerfile
* stash changes
* Make makefile dynamic (#28)
* Remove broken docker packages for now
* Add web
* Make Black Formatter happy?
Co-authored-by: Max Zaremba <max.zaremba@gmail.com>
* Added data function to query ngrams within the api
* removed cleaning and seeding tasks from API level, handled at engine level
* Added /:handle/ngrams endpoint to API routes
* Reflected change from uuid to handle in log messages within API
* Just some API readme changes
* Added regex to routes to mitigate url decoding, plus added validation function for handle
Co-authored-by: j-sofia <joey.sofia1@gmail.com>
Co-authored-by: Peter Rauscher <peterrauscher@protonmail.com>
Co-authored-by: j-sofia <joey.sofia1@gmail.com>
* local db connection and data functions
added pg-promise package to interface with PostgreSQL, added data functions, changed api to port 3001, updated README.md
* pr review changes
* dotenv
* Update README.md with api dependencies
* Update README.md
* PR changes
* typo