Most of my projects these days involve building a web API. Building a web API using REST principles allows you to bolt on multiple different front-ends (e.g., React app or iOS/Android app) and easily access functions from other computers. But building the infrastructure of the API often takes time, time I'd really like to spend … Continue reading Speeding Up API Development
Tag: FastAPI
Organising SQLAlchemy Base and Models in FastAPI Projects
Introduction When working with FastAPI and SQLAlchemy, you may encounter an issue where your tables are not created in the database even though your code seems to be correctly set up. A common reason for this is having multiple instances of declarative_base instead of a single shared instance. In this blog post, we'll walk you … Continue reading Organising SQLAlchemy Base and Models in FastAPI Projects