hostedapi
hostedapi copied to clipboard
Building out an example Starlette service đ
Update to Python 3.8, since it supports an async REPL. Add `scripts/shell` which breaks open an async shell, and connects to the database.
- [x] Drop redundant data migrations. - [ ] Drop redundant "election" table. - [ ] Consistent user and naming of foreign keys.
We should push the main table/column/row endpoints into their own app folder.
* Rename from "mock_github" to "github". * We're including more routes than we need to when `MOCK_GITHUB=True` - only the user auth page needs displaying to the user. The other...
Right now we're using the default settings for the connection pool with `asyncpg`. This ends up being 10 connections per worker process. We're running 2 worker processes, so holding onto...
Let's have the footer of the application include: * A link to the repo. * Basic deployment info: The heroku build version, Build timestamp.
* An empty `search=` should redirect to a URL without the "search" parameter. * Searching should preserve the `"order"` parameter. * Detail pages should preserve "order" and "search" parameters, and...
Empty search results should not display column headers, and should include a placeholder message.
Let's have the application hosted at a real URL, not simply "http://hostedapi.herokuapp.com/"