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: What's the fastest and simplest way to prototype a web app in 2023?

38 pointsby whoisjuanabout 2 years ago
I&#x27;m looking for something that:<p>1) Gives you the ability to write a frontend and backend with good flexibility preferably React &amp; Node.<p>2) Doesn&#x27;t require a local environment, but still allows me to work on VS Code.<p>3) Allows me to have a live URL and connect a custom domain.<p>4) Batteries included, but most importantly a solid and easy to implement authentication paradigm.<p>What&#x27;s the best thing right now for this. I&#x27;m just looking for a very low or zero-config infra and fast time to production.<p>I see many options like Vercel, Replit, Render, etc, but I just want to understand if there&#x27;s a solution or stack that maximizes for efficiency, speed and low configuration, while allowing to scale up if needed.

27 comments

kbranniganabout 2 years ago
PHP.<p>It&#x27;s unsexy, boring. It&#x27;s not going to decorate your resume like Js frameworks.<p>But it will work.<p>PHP has the most mature tooling for web development.<p>Js frameworks tend to rot<p>Try yii framework. It&#x27;s old boring which is good.<p>When I was a young developer, I didn’t wanna have anything to do with PHP because hacker news, painted it under a bad light, but it turned out that sometimes people just wanna be different for the sake of being different.when I was a young developer, I didn’t wanna have anything to do with PHP because hacker news, painted it under a bad light, but it turned out that sometimes people just wanna be different for the sake of being different
pstormabout 2 years ago
If React + Node is your preferred stack, I would say NextJS on Vercel + Supabase is the closest to meeting your requirements. You&#x27;d still have a local env, but the other points are taken care of. Auth is particularly nice with this combo. Check out their docs: <a href="https:&#x2F;&#x2F;supabase.com&#x2F;docs&#x2F;guides&#x2F;getting-started&#x2F;quickstarts&#x2F;nextjs">https:&#x2F;&#x2F;supabase.com&#x2F;docs&#x2F;guides&#x2F;getting-started&#x2F;quickstarts...</a>
reducesufferingabout 2 years ago
Next.js with Auth.js (formerly Next Auth). For a &quot;batteries included&quot; full stack, I&#x27;d also include Prisma and Planetscale for your &quot;ORM&quot; that easily stores your data models into a managed DB. Typescript and TailwindCSS are also highly recommended niceties.<p>You can deploy a template into production as simple as:<p>1) npx create-t3-app<p>2) Create Vercel account linked to your GitHub<p>3) Set your git remote and &#x27;git commit &amp;&amp; git push&#x27;<p>Then for DB:<p>4) Sign up and push button to create MySQL DB on Planetscale<p>5) Copy two env vars to .env<p>6) npx prisma db push<p>Then, a full stack UI can be as simple as creating a React Server Component that fetches your DB data and displays UI a la:<p>async function getDataFromDb() {<p><pre><code> const data: Data[] = await prisma.data.findMany(); return data;</code></pre> }<p>export default async function DataPage() {<p><pre><code> const dbData = await getDataFromDb(); return ( &lt;div className=&quot;mt-3 grid gap-5 pt-3 text-center md:grid-cols-4 lg:w-2&#x2F;3&quot;&gt; {dbData.map((dataParam) =&gt; &lt;Card data={dataParam}&#x2F;&gt; )} &lt;&#x2F;div&gt; ); }</code></pre>
lnalxabout 2 years ago
Rails is the way to go. The productivity of the Ruby language is insane. It&#x27;s battle tested for decades and you can easily scale your prototype.<p>If you want a simple app served on a single host you can try LiteStack [0] so you don&#x27;t need a Redis&#x2F;Postgres&#x2F;Sidekiq instance, just SQLite.<p>Laravel is also good if you like PHP language.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;oldmoe&#x2F;litestack">https:&#x2F;&#x2F;github.com&#x2F;oldmoe&#x2F;litestack</a>
评论 #35142977 未加载
AlchemistCampabout 2 years ago
React and Node are not the choices if you want to prototype quickly.<p>A full-stack Rails-inspired framework that makes use of DSLs, code generators, db migrations and has validations that work from the db, through to the forms in frontend templates are the table stakes for rapid prototyping. Rails itself, Phoenix or Laravel are the options I’d consider. All three have great communities and a history of success getting more done with fewer devs than would be possible with separated front and back-end JS SPAs.
评论 #35125012 未加载
ojkellyabout 2 years ago
The suggestions in this thread are decent, but I haven’t seen a mention of prioritising what you know.<p>What’s your goal?<p>If as you mention you have an app to prototype and you want that prototype as fast and simple as possible, then you can’t use tech and tooling you don’t know.<p>Any time spent learning the new tech, is time you could have spent on the prototype.<p>With that lens, you can see the variety of suggestions here are what people know best.<p>If you goal is to learn a new tool, or to learn a new tool alongside a prototype, you have to trade off speed. It will take a bit longer.<p>Spend your novelty tokens wisely.
lightning19about 2 years ago
My chosen stack is React (DaisyUI, deployed with cloudflare) + Node (Hapi is batteries included, deployed using GCP cloud run). One benefit of this stack is that there&#x27;s no cloud vendor lock-in. The only drawback thus far is that Hapi with Typescript is not that well documented and of course higher latency than dedicated infra.<p>I&#x27;m still unsure about what &#x27;serverless&#x27; database is optimal (cockroachdb, neondb, planetscale, mongodb) so I went with what my last profitable side project used - mongodb.<p>At some point I&#x27;d like to compare the performance of psql jsonb to mongodb, I&#x27;ve watched some talks a few years ago stating that psql with jsonb outperforms mongodb. I wonder if that&#x27;s still the case in 2023.<p>I&#x27;ve experimented with golang before as I wanted something easier to scale than node + minimal dependencies but then I realized I am just writing my own web framework so I settled on Hapijs, it&#x27;s faster than express and has less dependencies, it was&#x2F;is run in prod at Walmart.
creamyhorrorabout 2 years ago
Laravel is highly batteries-included (e.g. on the auth front) and works with Vue or React now - it includes a module called Inertia that connects the Laravel server-side with the Vue&#x2F;React client-side. Caveats: Laravel is in PHP and is quite mature, so there&#x27;s quite a bit to get used to.
zainhodaabout 2 years ago
If you know Python, maybe Pycob could suit your use case? <a href="https:&#x2F;&#x2F;www.pycob.com" rel="nofollow">https:&#x2F;&#x2F;www.pycob.com</a>
grubbyabout 2 years ago
pretty funny how every comment is a different stack lmao. here’s my sprinkle: python&#x2F;FastAPI and Svelte JS
评论 #35116098 未加载
sheunlabout 2 years ago
PHP &#x2F; Laravel. Its not a contest. Its easy to write and setup. It has auth, security, templating and all you need.
mcapodiciabout 2 years ago
My open source project is mostly aimed at this. Happy to help out early adopters (find me on twitter @mcapodici)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mcapodici&#x2F;firestarter">https:&#x2F;&#x2F;github.com&#x2F;mcapodici&#x2F;firestarter</a><p>1. Check<p>2. Check: I started using github spaces developing this<p>3. Check<p>4. Uses Firebase, trading off open sourceness for convenience
abraxasabout 2 years ago
Probably bubble or a similar platform.<p>If nocode is out of the question then I don&#x27;t know because it all looks like a convoluted mess to me. I&#x27;m actually going to watch this thread with interest to see what others suggest. I&#x27;m on a somewhat similar quest at the moment.
frompdxabout 2 years ago
The title should be &quot;What is the fastest and simplest way to <i>host</i> a web app in 2023?&quot;.<p>Not sure about Render, but the others you mention do not appear to be wholistic. They either focus on the frontend exclusively, or are intended for development, not production use cases.<p>What about your data layer? You need something that provides that and my guess is that will drive your decision about what platform you choose more than anything else. That, and cost.
wstuartclabout 2 years ago
I am really enjoying elixir&#x2F;pheonix&#x2F;liveview -- feels super fast to poc stuff out and also is not throw away as the system scales unbelievably well.
tspabout 2 years ago
You can get pretty far with an interactive Figma clickdummy. When you want to build a prototype, your main motivation might be to get feedback from users. A clickdummy might give you exactly that and save you a lot of time.
rlawsonabout 2 years ago
Django -auth out of the box. DRF or Django Ninja provide easy apis. Throw it in a container and then deploy anywhere
mechanical_bearabout 2 years ago
PHP&#x2F;Symfony
nobodyandproudabout 2 years ago
Similar question: What about a serverless webapp?<p>That is, a fat client with the server only serving up static content.
112about 2 years ago
next.js + trpc + pocketbase leanest stack i&#x27;ve played with in the past 3 years
farseerabout 2 years ago
What kind of web app are we talking here? In terms of feature set and complexity.
juanseabout 2 years ago
Ruby on Rails 7+
vosperabout 2 years ago
Auth0 is relatively easy to implement with NextJS, like it should a couple of hours at most. Auth0’s own UI is reasonably clean and easy enough to setup.
nolobloabout 2 years ago
For fp enthusiasts<p>Elixir Phoenix framework<p>For fp haskell purists<p>Haskell warp yesod servant
Utkarsh_Moodabout 2 years ago
Redwood.js
omegared8about 2 years ago
Consider RedwoodJs Or Nx
aristofunabout 2 years ago
Rails, nextjs
评论 #35111556 未加载