News for hackers. Stuff that matters.
Re:Ask HN: What stack should I use to build my basic web app... by vatotemking on Thursday March 29, 2018 @08:37AM (#16706473)
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... by handbanana on Thursday March 29, 2018 @12:04PM (#16708123)
I like that set up.

For me its ejs over nunjucks. Mysql, and no ORM. I'd also probably use something like elastic beanstalk vs piecing it all together myself - to keep things simple.

And I'd use sendgrid over mailgun, primarily for deliverability but also I find their service/api/dashboard very user friendly.

If taking payments I'd use stripe