Live data from Hacker News

Ask HN: Which stack will get my MVP API off the ground fastest?

news.ycombinator.com

1–10 of 31 posts

Ask HN: Which stack will get my MVP API off the ground fastest?

#1
I have an idea for a service as a side business and need some kind of E-commerce API for it. The main feature is it’s going to produce one-off artifacts and none of the off-the-shelf solutions I’ve looked at really fit.

Basically I need a way to stand up an API with an /price/ endpoint and a /orders/ endpoint that run a bit of logic, put stuff in a database and trigger the payment processor flow. Easy-peasy except I have analysis paralysis over what to build it with and where to host it.

I’m comfortable with “classic” .net and dabbled in Node.js. I’d love to build it as an .Net Web API but the prospect of cloud hosting scares me (plus azure is freakin pricy).

Re: Ask HN: Which stack will get my MVP API off the ground fastest?

#6
post #4

Can’t really go wrong with python + Django (or flask if you want to stay minimal). Sounds like you’ll need auth, so Django should support that out of the box. Both will integrate easily with Postgres, and for flask, take a look at the peewee ORM.

What’s the easiest/best way to host python+flask?

Re: Ask HN: Which stack will get my MVP API off the ground fastest?

#9
post #6
post #4

Can’t really go wrong with python + Django (or flask if you want to stay minimal). Sounds like you’ll need auth, so Django should support that out of the box. Both will integrate easily with Postgres, and for flask, take a look at the peewee ORM.

What’s the easiest/best way to host python+flask?

Easiest? Probably heroku after you get past the initial boilerplate - but can quickly become expensive.

Most cost efficient would be to Spin up a cheap droplet in digital ocean, install docker-compose with a Postgres service and python image. In the python image, just boot up a Django server on port 80. If you need https, youll need to add something in front of Django, like nginx to handle ssl termination.

App engine could also be a very quick and cheap way - you get ssl, and domain for free, but you do need to buy into their way of doing things, which has a bit of a learning curve .

Re: Ask HN: Which stack will get my MVP API off the ground fastest?

#10
I'm biased but I'd go with .NET if you actually want to get the thing built. Obviously use a new stack if you want to use it as a learning experience.

With .NET Core and Postgres you can get something stood up within a few days and host on a cheap Linode, Digital Ocean or another provider's box for $6 a month or so. That should last you scalability wise until you have enough money from it to do something else and gives you type safe, performant code.

Post reply on HN