Live data from Hacker News

Next.js 12

nextjs.org

261–270 of 293 posts

Re: Next.js 12

#261
post #48

If Next.js + Vercel is the leader of the production-ready frontend-as-a-service space, why hasn't a similar leader emerged in the backend-as-a-service space? I would love a clean Vercel-like abstraction on top of standard cloud primitives (functions, queues, events, workflows, etc.) with everything wired up nicely and focused on developer experience. It just seems like AWS is so configuration heavy that it is ripe fo…

I am developing a framework that might handle some of these needs. Right now it incorporates:

- an RDS postgres instance with a curated set of DB scripts with auditing baked in

- Lambda/API Gateway based API

- fully implemented with users, roles, groups

- application level authorization

- Cognito for user authentication (sign up or admin created)

- S3/CF for hosting/files

- React frontend

- all in Typescript with a robust type-set; same types for the whole stack

- deployed via CF template along with some custom scripting I have done to tie it all together

It's been a work in progress for some time on the side, but I am now formalizing it. It might seem a bit rough on the edges at first, but it gets the job done, and can more or less be extended into other AWS services as needed. I haven't really received much feedback yet.

It's all open source, you just pay for the AWS resources, and it installs from npm and deploys in about 10 minutes based on how long the DB and CF distribution take to deploy. Here's a sped up install video: https://www.youtube.com/watch?v=b3mzwtIyt9s

And here's the git, https://github.com/keybittech/awayto

I am in the midst of drafting formal documentation, how-tos, and other media that I can share with the community to help make it easier to understand and use. Any feedback is greatly appreciated!

Re: Next.js 12

#262
post #48

If Next.js + Vercel is the leader of the production-ready frontend-as-a-service space, why hasn't a similar leader emerged in the backend-as-a-service space? I would love a clean Vercel-like abstraction on top of standard cloud primitives (functions, queues, events, workflows, etc.) with everything wired up nicely and focused on developer experience. It just seems like AWS is so configuration heavy that it is ripe fo…

Oh hello there! I'm the founder of https://railway.app/ and "Vercel for Backends" is what we get a lot

You can give us a go at https://dev.new/

We're working on making the project connections a bit better so that generalizable connected services are as trivial to build as stateful monolithic backends in the current platform

Anything else we've missed and I'm happy to sit down with you (or anybody else) and hear what your needs are. Arbitrary evented triggers are coming pretty soon as well as the API so the infrastructure should be fully composable/meta.

P.S We integrate with the lovely lads/lasses/fiends at Vercel :)

Re: Next.js 12

#264
post #148
post #65

Earlier quoted context omitted.

Supabase is overly SQL heavy.

can you elaborate on what "overly SQL heavy" even means? it's just a postgres db as a service, use as much or as little as you want

The authn/authz is heavily tied to PSQL. It lacks the polish and ease of use of Firebase. It takes too much configuration to get started. Poor support for things like migrations management and generation.

Re: Next.js 12

#265
post #190
post #31

Earlier quoted context omitted.

One thing to keep in mind is that SWC is a compiler, whereas esbuild is a bundler. SWC has limited bundling capabilities last time I checked, so if you're looking for something to traverse your code and generate a single file (or multiple files at dynamic import boundaries, etc.) esbuild is what you want. Next.js bundles with webpack, so it uses SWC in lieu of Babel (or the TypeScript Compiler).

We are going all in on swcpack (spack) as well. One of the benefits of swc-as-platform is the rich ecosystem of tooling we will see develop from it. Transforming, bundling, prettifying, optimizing… all at peak performance.

Am I being cynical in that you could have simply replaced swcpack with “webpack” 6 years ago and it would have made perfect sense? Feels like we have been here before…

Re: Next.js 12

#266
post #48

If Next.js + Vercel is the leader of the production-ready frontend-as-a-service space, why hasn't a similar leader emerged in the backend-as-a-service space? I would love a clean Vercel-like abstraction on top of standard cloud primitives (functions, queues, events, workflows, etc.) with everything wired up nicely and focused on developer experience. It just seems like AWS is so configuration heavy that it is ripe fo…

I'm the founder of WunderGraph. https://wundergraph.com/ We're doing exactly this. Our philosophy is simple, instead of forcing you into a specific stack, we can "introspect" multiple data sources like GraphQL & REST APIs, MySQL and PostgreSQL, S3 for file storage and OpenID Connect for authentication. This way you can plug and play any of your existing infrastructure and services and turn them into your own private…

Hey I really like the product, I would recommend you embed the video you've made[0] somewhere in the website's homepage or docs.

I'm sure a lot of devs mostly get started by reading docs, but I personally love videos which show me what's possible and I follow along.

[0] :https://www.youtube.com/watch?v=1_Nl6ZQJJQY

Re: Next.js 12

#267
post #122

I'm going to be downvoted to hell for this... but the more I see the level of complexity and amount of engineering going into this, the more I miss Rails and how simple things are there, given most of us are just building CRUD apps anyways.

Eh. Perhaps you're looking through rose colored glasses on the days of Rails dominance? I've worked at multiple companies using Rails and not one was simple. Especially when you have 100+ engineers working on different aspects of a massive product. Anecdotal but Rails has a ton of magic to make things work but its only simple if you're product is a super basic CRUD app

I don't think 100s of engineers working on a massive next.js application would be any easier. At scale everything is complex.

Re: Next.js 12

#268
post #122

I'm going to be downvoted to hell for this... but the more I see the level of complexity and amount of engineering going into this, the more I miss Rails and how simple things are there, given most of us are just building CRUD apps anyways.

I understand your point, but having worked with Rails and now working on a React + Flask app, Next.js is the closest thing to Rails we have so far. And, having worked on a Rails + React app a few years back, I can safely say that is about as complext as a Next.js full-stack app. I do love Rails and I still think the React + Something on Backend environment is still not there yet (at least not like Rails 4 and 5, whic…

But why do we need a new rails? That's what I don't get. Just because we want to use JavaScript?

Re: Next.js 12

#269
post #48

If Next.js + Vercel is the leader of the production-ready frontend-as-a-service space, why hasn't a similar leader emerged in the backend-as-a-service space? I would love a clean Vercel-like abstraction on top of standard cloud primitives (functions, queues, events, workflows, etc.) with everything wired up nicely and focused on developer experience. It just seems like AWS is so configuration heavy that it is ripe fo…

Blitz.js is a superset of NextJS that should do what you want

Re: Next.js 12

#270
post #48

If Next.js + Vercel is the leader of the production-ready frontend-as-a-service space, why hasn't a similar leader emerged in the backend-as-a-service space? I would love a clean Vercel-like abstraction on top of standard cloud primitives (functions, queues, events, workflows, etc.) with everything wired up nicely and focused on developer experience. It just seems like AWS is so configuration heavy that it is ripe fo…

We are working on this right now at https://Flightcontrol.dev
Post reply on HN