Lurker News
I am still frustrated with the amount of incidental complexity required whenever I want to do this. My latest attempt was to use a Digital Ocean droplet with Django pre-installed. I guess the biggest issue there was setting up something so that I could easily deploy my local version to the droplet (ended up using git/Github), and ensuring those two environments were in sync. I looked into Docker in some detail about a year ago, and I think it's the only pretty good solution for this I've come across—but there's a steep up front cost in learning/setup etc. (or so it seems).

What services and technologies do you use when you'd like to quickly build a web app which may never be more than a prototype, but may also turn into something real? A big aspect of what I'm wondering is about automatically setting something up for keeping local/production environments in sync, quickly deploying to production, and not having to mess with a bunch of server configuration things, user accounts, security, etc.

Comments (558) 189 threads

Show all comments

Showing thread 30 of 189

0xCMP3 replies#
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.

iopuy1 reply#
which token auth mechanism? Always curious to hear how others secure their endpoints.
0xCMP#
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.
hjnilsson1 reply#
What do you use to connect Django models / Postgres to GraphQL?
isuckatcoding1 reply#
Sorry What did you mean by $+2? I see $7 for their hobby instance..?
matt2000#
I'm guessing he means "$2 more than a $5 droplet that you maintain yourself."