Live data from Hacker News

Ask HN: What's your favorite way of getting a web app up quickly in 2018?

news.ycombinator.com

361–370 of 569 posts

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#361
post #224

Nodejs + Angular + Heroku. Surprised to see only 3-4 nodejs comments till now, compared to many more Go comments. Has the tide turned, is Go the new nodejs? :(

asking the same question i've asked all js-centric responses above... how do you handle authentication?

I use passportjs without thinking.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#362
post #114

Earlier quoted context omitted.

It blows my mind that there still isn't a polished ORM for the node.js / Express ecosystem.

Datastore Agnostic: - JS-Data - https://github.com/js-data/js-data SQL: - Sequelize - https://github.com/sequelize/sequelize - Bookshelf - https://github.com/bookshelf/bookshelf - Objection - https://github.com/Vincit/objection.js - TypeORM - https://github.com/typeorm/typeorm NoSQL: - Mongoose - https://github.com/Automattic/mongoose - Thinky - https://github.com/neumino/thinky

Have personal experience with Sequelize and TypeORM, both are very far from being polished and finished.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#363
Rust + Diesel + Tokio.io + Postgres. I don't do web frontend (just apps and bots), and this stack took a LOT of time to get used to, but now I enjoy full static typing, perfect ORM-ish abstraction level (Diesel is kind of unique in that regard), built-in integration testing so it's compatible with SQL migrations and functions in Postgres and pretty good perfomance.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#364
django-rest-framework + Bootstrap + plain JS frontend (not necessarily SPA-style, but can be)

I presume that some of the fancier new frontend options would be an easier way to consume a vanilla RESTy backend. Doing things this was also has the benefit that I can just hire somebody to write me a new frontend, since that's not really my forte.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#366
post #270

I write the server-side in Go, cross-compile to a Linux binary, and set that up as a service on a vanilla Ubuntu box (usually Digital Ocean). Deploying a new version is a matter of sftp'ing the new binary (and any templates, images, etc) over the top of the old one and restarting the service. If I need a database then I use Postgres, and the setup for that can be a pain, so I get it documented/scripted using Ansible.…

Your start is good but you add complexity on top of it. Install Golang on your VPS, clone the source code on it and compile it there instead of messing with cross compilation. Also use sqlite to avoid the pain of setting up a SQL server, there is no need for it. You can then easily get systemd to supervise your binary. This is how I host all my web apps, the main difference is that I don't use Go but Nim. If you want…

Why put the source on the VPS? Go cross compilation is much easier then you make it sound.

    GOOS=linux GOARCH=amd64 go build
Nim can't beat that.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#367

Earlier quoted context omitted.

This comment is highly presumptuous about the actual development experience of more modern languages and tools. > True speed comes when you don't have to deal with other people's bugs and poorly designed mistakes. PHP is often, in practice, a language where bugs are more likely compared to these "stylish" other languages you mention. [0] [0] http://delivery.acm.org/10.1145/3130000/3126905/p91-ray.pdf?... " For [langu…

I wonder why Ruby ended up in the negative coefficient group instead of exhibiting similar characteristics to Python, for example.

It's quite an interesting study to read, and not long. I recommend giving it a few minutes to answer that question.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#368

For some reason people seem to constant doubt Ruby-ists and Rails Devs. I completely get that other languages have huge benefits over Ruby. Golang being compiled or Java running anywhere, etc... And ruby is slow, totally understood. But if youre talking about getting a functioning webapp up and running quickly ... no way anyone is beating a Rails dev in setting one up. The piping and scaffolding are all built in and…

Agreed! I have a template built that allows me to spin up a basic web app with all my baseline common dependencies ready to go and a handful of little nice-to-haves in place and deploy to Heroku in well under an hour. I love Rails!

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#370

Earlier quoted context omitted.

With a single VPS, you're missing the DB backup that is probably the most important piece if the puzzle provided by heroku.

Depends on the DB size. For small side projects I do weekly SQL dumps, 7-zip them, and email as attachments to my GMail, where they get automatically tagged and marked as read.

This guy hacks.
Post reply on HN