Hacker News new | ask | show | jobs
by lastofus 1700 days ago
I work on exactly this at work using Python/Django along with:

- Python Social Auth: handles social login

- Django Rest Framework: does all the heavy lifting for API dev

Django takes care of all of your other requirements such as user management, DB migrations, interaction with both PG and SQLite via both the ORM and raw SQL.

This app runs on Heroku and is quite easy to deploy.

You mention wanting to generate the API from OpenAPI spec, but this is not needed with DRF. Instead, the API is generated from your models + sterilizer + view code which in turn generates an OpenAPI spec for documentation purposes.

I've worked in a number of other languages/frameworks and I can't imagine anything that does more heavy lifting for you than this stack, which in turn lets you focus on the business logic.

More importantly, this stack is battle tested, and very well documented (except for perhaps Python Social Auth, which could use some doc love).

1 comments

Second Django/DRF, it's terrific