Commit Graph

5 Commits (master)

Author SHA1 Message Date
Dustin 0ab0ef8874 backend: api: Create database tables at startup
We might need to use Alembic for schema migrations at some point, but
until then, creating the database tables when the application first
starts will work fine.
2022-01-25 21:45:29 -06:00
Dustin e33502eee1 backend config: Add application configuration
Configuration is managed as a Pydantic model and can be loaded from a
YAML document.
2022-01-25 21:45:29 -06:00
Dustin 46bc1869af backend: tables: Begin data model
Using SQLAlchemy Core for query building, composition, etc.
2022-01-25 21:44:57 -06:00
Dustin 40cbde78e0 backend: Begin web API server
The web API server is built using FastAPI.  Although there are several
issues with the framework, and it is basically unmaintained at this
point, I still like it better than the alternatives.  Django is too big
and cumbersome, and its async story still needs improvement.  I do not
like Flask at all.  Starlette would be great, but OpenAPI spec
generation is too useful to give up, and the solutions for Starlette are
not nearly as good as FastAPI, even with its bugs and limitations.
Ultimately, the development experience with FastAPI is unmatched, and
for this project, I want to develop quickly.
2022-01-18 20:24:47 -06:00
Dustin cb7825855e Initial commit 2022-01-16 20:15:40 -06:00