Ask HN: What stack should I use to build my basic web app as of 3/29/18
41–50 of 58 posts
Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18
#42This is maybe a stupid question, but why not Rails? I still use it as my go-to backend, but it seems to be out of fashion nowadays.
Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18
#43Frontend - Plain HTML/CSS/JS
Backend - Node, Express with Nunjucks for templating
If I want to get a bit fancy:
Frontend - Vue, Bootstrap4
Backend - Node, Express, Nunjucks
DB - SQLite3 using Sequelize as ORM
Surprisingly, you can accomplish lot of stuff with the second setup.
If im going to deploy to production:
Provider - Either small DO droplet ($5.00) or tiny AWS (free)
Webserver - nginx as reverse proxy for node (free)
Firewall - UFW (free)
Email - mailgun (free)
Domain - namecheap (depends on domain name. $10.00/yr more or less)
For a basic setup you wont need any scaling setup (CDN, load-balancer and whatnot) which like what, 99% of the time?
Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18
#44Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18
#453/29/18? What sort of date format is that? Regardless of your stack, use ISO 8601 for dates.
Are you suggesting to use ISO 8601 format to display dates to users instead of the users local or preferred format?
Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18
#46The correct answer as of ${any_date_in_any_esoteric_format} is: - It depends on what you are trying to build. Basic web app can be anything from a Trello clone to Instagram. Each has it's own limitations. - Go with what is tried and tested. Pick up something that is supported, where if you get stuck you can reach out to people for a fix. One of the few good things of the clusterf k that the current JS ecosystem is is…
Whenever I write a check or sign and date something, that's how I write it.
Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18
#473/29/18? What sort of date format is that? Regardless of your stack, use ISO 8601 for dates.
That's one of the most common date formats used in the United States. Are you suggesting to use ISO 8601 format to display dates to users instead of the users local or preferred format?
Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18
#483/29/18? What sort of date format is that? Regardless of your stack, use ISO 8601 for dates.
That's the third of Thunderfiretober of 2018, what's your problem, isn't that clear? ;) Playing devil's advocate here. This kind of date formatting is really confusing to me (German) and I almost overread that the question asked for the current en vogue tech...
You, me, and most of the world outside the USA. Check out the map here: https://en.wikipedia.org/wiki/Date_format_by_country
Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18
#49Earlier quoted context omitted.
That's one of the most common date formats used in the United States. Are you suggesting to use ISO 8601 format to display dates to users instead of the users local or preferred format?
Yes. This site, like many, has a large international audience. Don't assume your local (and illogical) format is your users'. It just confuses people. Use an unambiguous format: use 8601 or spell out the month.
As such, you shouldn't be too strict about what you feel is the "logical" way of doing things.
Anyway, according to alexa, the great majority of HN readers are from the US - https://www.alexa.com/siteinfo/ycombinator.com
Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18
#50Ask HN: What stack would you use to build a CRUD web app in 2018?
https://news.ycombinator.com/item?id=16508965
It has 177 comments and some good meaty answers.