Live data from Hacker News

Ask HN: What stack should I use to build my basic web app as of 3/29/18

news.ycombinator.com

41–50 of 58 posts

Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18

#42
post #33

This 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.

If it's a basic CRUD app Rails would be a great option (Rails is good for a lot more than that of course!).

Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18

#43
The simplest stack for me is:

Frontend - 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

#45

3/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

#46

The 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…

I'm just wondering if you're not from the USA? Because that date format is very common here particularly for written dates.

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

#47

3/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?

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.

Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18

#48
post #30

3/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...

> This kind of date formatting is really confusing to me

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

#49

Earlier 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.

That's my point exactly. It's an international audience but it's also an informal social environment where we can't expect everybody to be cognizant of that fact at every moment and make adjustments for it.

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

Post reply on HN