Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The easiest thing to do is Heroku. They've really nailed it down and the +$2/month for their basic instance is easily worth it if you don't want to spend the time getting everything setup.

Automation requires infrastructure and infrastructure is cheap only if you know how to set it up.

I run ~3 side projects using Heroku to host a Django project with a GraphQL API talking to Heroku Postgres and Netlify the host the ReactJS frontend. I serve the API on heroku's free domain and put the react project under app.projectname.com and use token auth to talk to the API.

Deployments are super simple. Including updates to and managing the database.



Sorry What did you mean by $+2? I see $7 for their hobby instance..?


I'm guessing he means "$2 more than a $5 droplet that you maintain yourself."


What do you use to connect Django models / Postgres to GraphQL?


Graphene does most of the work for me with Python meta-magic.

https://github.com/graphql-python/graphene-django


which token auth mechanism? Always curious to hear how others secure their endpoints.


I usually just reach for Django Rest Framework's token implementation. I know others use it so I figure it's good enough for something I'm just getting started with.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: