TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

18 pointsby fastbeefover 5 years ago
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.<p>Basically I need a way to stand up an API with an &#x2F;price&#x2F; endpoint and a &#x2F;orders&#x2F; 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.<p>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).

18 comments

UglyToadover 5 years ago
I&#x27;m biased but I&#x27;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.<p>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&#x27;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.
评论 #21294866 未加载
DmitryOlshanskyover 5 years ago
Whichever you know best
评论 #21295364 未加载
simonahgilbertover 5 years ago
Personally I would choose ASP.Net Core, hosted on a Microsoft Azure App Service with continuous integration from AppVeyor.<p>Benefits - Azure App Service free tier is awesome. AppVeyor have a 14 day trial that supports deployment directly from Git to Azure and .Net Core is awesome.<p>Here’s a blog I wrote recently which covers this exact implementation -<p><a href="https:&#x2F;&#x2F;www.simongilbert.net&#x2F;xunit-ci-azure-appveyor-aspdotnetmvccore&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.simongilbert.net&#x2F;xunit-ci-azure-appveyor-aspdotn...</a><p>In terms of a database implementation, Azure’s NoSQL table storage is super cheap and awesome, as covered here -<p><a href="https:&#x2F;&#x2F;www.simongilbert.net&#x2F;dependency-injection-aspnet-mvc-azure-storage-autofac&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.simongilbert.net&#x2F;dependency-injection-aspnet-mvc...</a>
wilson_4over 5 years ago
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.<p>Both will integrate easily with Postgres, and for flask, take a look at the peewee ORM.
评论 #21295313 未加载
评论 #21294996 未加载
评论 #21294690 未加载
bbayerover 5 years ago
Usually, I cannot finish what I have started because of debating over which shiny new framework&#x2F;stack I need to use. I overoptimize things and always try to code for worst case. I cannot resist to think about hundreds of users, peak performance, hn traffic of death etc. Eventually it never finishes or I loose interest.<p>Best thing you can do is to make something that just works in fastest way possible. Anything that can print out text will work. You will always have a chance to make it better once it starts to get some traction.
ng-userover 5 years ago
Stop wasting time debating and just use .NET, don&#x27;t overthink things.
评论 #21294812 未加载
bdcravensover 5 years ago
Whatever you feel most comfortable with.<p>As for .NET hosting prices, I don&#x27;t understand why you need complex hosting. A smallish instance paired with SQL Server RDS (both of which can be hosted on Linux or Windows) should suffice.<p>Keep in mind that both AWS and Azure offer a free tier when you&#x27;re starting up:<p><a href="https:&#x2F;&#x2F;azure.microsoft.com&#x2F;en-us&#x2F;overview&#x2F;startups&#x2F;" rel="nofollow">https:&#x2F;&#x2F;azure.microsoft.com&#x2F;en-us&#x2F;overview&#x2F;startups&#x2F;</a><p><a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;free" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;free</a>
joshmnover 5 years ago
Whatever you know best.<p>&quot;But deployment&quot; deployment is cheap.<p>&quot;But hosting&quot; hardware is cheap.<p>&quot;But time&quot; time is _not_ cheap.<p>You don&#x27;t need to screw around and learn another language&#x2F;framework&#x2F;ecosystem to get an MVP off the ground. You need to be able to hit the ground running and never let off the gas. This means you need to be able to change&#x2F;adapt&#x2F;feature what you need to. That takes brain cells. So does learning another language&#x2F;framework&#x2F;ecosystem. Don&#x27;t make it harder than it needs to be.
hanozover 5 years ago
.NET Core Web API is absolutely perfect for this and the fact you already have some .NET experience makes it a no brainer in my opinion.<p>Just get started knocking out a prototype running locally and break the analysis paralysis, you&#x27;ll have no end of hosting options to choose from later. You&#x27;ll be amazed what a 5 dollar a month Ubuntu server from Digital Ocean or similar will handle running .NET Core. Azure is obviously an option too but don&#x27;t rule out AWS.
toomuchtodoover 5 years ago
PostgreSQL with PostgREST might be enough for your needs if you’re mostly reading&#x2F;writing to the DB. Can run on your own server, cloud, Heroku, etc.
sturzaover 5 years ago
Check this out: <a href="https:&#x2F;&#x2F;www.notion.so&#x2F;gug&#x2F;Todo-cafe7661e92b4fc1aebb7bcb3c103080" rel="nofollow">https:&#x2F;&#x2F;www.notion.so&#x2F;gug&#x2F;Todo-cafe7661e92b4fc1aebb7bcb3c103...</a> I think node.js and Flutter can get you your MVP in one week assuming you can clearly articulate your idea.
sharemywinover 5 years ago
found this to convert json to sql creates:<p><a href="http:&#x2F;&#x2F;pojo.sodhanalibrary.com&#x2F;ConvertJsonToSQL" rel="nofollow">http:&#x2F;&#x2F;pojo.sodhanalibrary.com&#x2F;ConvertJsonToSQL</a><p>and your selects, updates etc<p><a href="http:&#x2F;&#x2F;convertjson.com&#x2F;json-to-sql.htm" rel="nofollow">http:&#x2F;&#x2F;convertjson.com&#x2F;json-to-sql.htm</a>
quickthrower2over 5 years ago
Plenty of cheap asp.net hosts, so don’t worry about cost. You don’t need to use Azure.
atmosxover 5 years ago
There is no framework that can match the feature set and the development speed of RoR.<p>If you are not familiar with ruby, go with a language you are familiar with. There is a clone in every major language. It’s just that RoR is the “original”.
rayvyover 5 years ago
This is kind’ve a bait question. I mean the “no duh” answer (as others have already mentioned) is “whichever you are most comfortable with”. I’m confused as to what other answer you could want
sharemywinover 5 years ago
I would start with a data model then you can use this if you want to convert to c#: <a href="http:&#x2F;&#x2F;json2csharp.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;json2csharp.com&#x2F;</a>
AndreFvchsover 5 years ago
For a MVP and to validate your business idea you could put something together with webhooks&#x2F;ifttt.com&#x2F;zapier.com&#x2F;googleSheets.
tayleeganjover 5 years ago
node