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?
Ask HN: What's your favorite way of getting a web app up quickly in 2018?
361–370 of 569 posts
Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?
#362Earlier 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
Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?
#363Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?
#364I 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?
#365Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?
#366I 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…
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?
#367Earlier 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.
Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?
#368For 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…
Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?
#369Really basic (dynamic) stuff: Python/Django, straight up HTML/CSS
Static - Html/CSS with a sprinkle of vanilla Javascript.
Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?
#370Earlier 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.