Live data from Hacker News

Ask HN: Which stack do you use at your startup?

news.ycombinator.com

61–70 of 128 posts

Re: Ask HN: Which stack do you use at your startup?

#62
post #52
post #50

Backend: Java (phasing out), Go (phasing in), Postgres, Redis, all on Ubuntu EC2's. Frontend: JS (TypeScript/ES6), React, ReactNative, SASS, all Webpack'ed (except RN). I think it's a fairly light stack but am happy with it. I would use this as the starting point for pretty much every project.

I love Go, but always feel it is not very productive for web app backends. What about you ? Do you use an ORM w/ Go?

Go optimizes for readability and lack of surprise at the expense of conciseness, which is why you feel it may not be productive. I think that the better maintainability vs. something like Rails massively outweighs the upfront cost of having to type more code, but other people might judge differently.

Furthermore, Go emphasizes "doing it your own way". There are no big web frameworks in Go, you just pull in some small and rather orthogonal libraries and make up your own abstractions to tie them together as you build your application. The end result is something that's highly optimized for your personal needs, but it requires a certain way of thinking and working that's not for everyone (and not always desirable). Some people do better when given more freedom; those should prefer Go etc. Some people do better when working within a well-known set of rules; those should prefer Rails etc.

Regarding ORM, I use Gorp (https://github.com/go-gorp/gorp) for INSERT, UPDATE, DELETE and basic SELECTs (e.g `SELECT * FROM things WHERE id = $1`), but when doing complex reports, I write SQL by hand [1] because ORMs are usually too constrained. I always feel like I know more SQL than the people who designed the ORM.

[1] For example: https://github.com/sapcc/limes/blob/ab4245a8f195672b808f990f...

Re: Ask HN: Which stack do you use at your startup?

#63
post #52

Earlier quoted context omitted.

I love Go, but always feel it is not very productive for web app backends. What about you ? Do you use an ORM w/ Go?

Go optimizes for readability and lack of surprise at the expense of conciseness, which is why you feel it may not be productive. I think that the better maintainability vs. something like Rails massively outweighs the upfront cost of having to type more code, but other people might judge differently. Furthermore, Go emphasizes "doing it your own way". There are no big web frameworks in Go, you just pull in some small…

I usually do the same, or even just sqlx. But then wish I had gone full-ORM when I have to change SQL code in 50 places due to a column rename...

Re: Ask HN: Which stack do you use at your startup?

#64
post #47

Earlier quoted context omitted.

How do you do migrations with Golang? Which ORM do you use?

This may be useful: https://github.com/mattes/migrate

Seconded. I use it with the go-bindata backend and Postgres driver. Some notes:

- Migrations are written in plain SQL, so there may be portability issues if you need to support multiple DBs. (Or you need to write the same migration once per supported SQL dialect.)

- It does not `CREATE DATABASE` for you when applying the first migration. For my app that uses Postgres, I wrote some extra code to do that. Feel free to copy if you like: https://github.com/sapcc/limes/blob/ab4245a8f195672b808f990f...

Re: Ask HN: Which stack do you use at your startup?

#65

I run a development shop in Australia and work with a lot of startups to build their MVP. This puts us in a position to recommend our preferred stack: - Django backend - React frontend - Native mobile iOS/Android OR Xamarin (depends on project) - PostgreSQL - AWS (Elastic Beanstalk) OR Heroku - S3

How do you find clients? I want to do something similar. Thank you.

Re: Ask HN: Which stack do you use at your startup?

#66

Haskell & Elm. Deployed to AWS with NixOps. Persisted with PosgreSQL and Redis. Code hosted in either Bitbucket or GitHbub. Tasks managed with Trello and email. Occasional sync meetings over appear.in or Zoom (I travel).

This is my favourite stack here by far. What are your pain points?

Re: Ask HN: Which stack do you use at your startup?

#68
post #65

I run a development shop in Australia and work with a lot of startups to build their MVP. This puts us in a position to recommend our preferred stack: - Django backend - React frontend - Native mobile iOS/Android OR Xamarin (depends on project) - PostgreSQL - AWS (Elastic Beanstalk) OR Heroku - S3

How do you find clients? I want to do something similar. Thank you.

You have the right approach. Sales first - send me an email (see profile)

Re: Ask HN: Which stack do you use at your startup?

#69

I run a development shop in Australia and work with a lot of startups to build their MVP. This puts us in a position to recommend our preferred stack: - Django backend - React frontend - Native mobile iOS/Android OR Xamarin (depends on project) - PostgreSQL - AWS (Elastic Beanstalk) OR Heroku - S3

I am an experienced Django developer, but just starting with React. Can you point towards any source which suggests good project setup and structure?

I have not personally been involved with a lot of the development for the past couple of years. I could ask a colleague. Send me an email - james@blitzm.com
Post reply on HN