3 ms·
I know about the relational model and used to work with raw SQL for years. But this is the stack I often work with now: - Postgres - Django ORM - Django RES
by Scarblac 7y ago
I know about the relational model and used to work with raw SQL for years.
But this is the stack I often work with now:
- Postgres
- Django ORM
- Django REST Framework
- Auto-generated OpenAPI Typescript functions
- A Redux store
- My React app
In other words, four ORM-like non-relational frameworks stacked on top of each other between Postgres and my app.
A generic solution for "complex, possibly unanticipated questions" would need to work through all of those layers.
- sul4bh 7y agoWhat do you use for "Auto-generated OpenAPI Typescript functions" ?
- Scarblac 7y agoDjango-rest-swagger to have a Swagger / OpenAPI spec on top of Django REST Framework, and then OpenAPITools/openapi-generator to generate Typescript code.
- mcamac 7y agocool -- what do you use to generate OpenAPI Typescript functions?