Love it - I`m a beginner at coding, and everything I do is low code/no code, but I`m in deep with a full stack for SaaS development too - built on vercel, next, redis, fastapi, and some other integrations - appreciate the video and love your enthusiasm
@@andreilucasgoncalves1416 i havent used drizzle so what does drizzle do that he should have considered it over prisma? and yeah you cant send too much
@@harshitpant07 I normally write Raw SQL and most of my coworkers too, if you use postgres you can have a linter check errors in the SQL, and you can use something like knex to create the boilerplate for the inserts I tested drizzle, but random bugs with migrations pissed me off so I dropped
I'm impressed by your project's potential, and from just glancing at the Next app's well-organized structure and your thoroughly documented commits, I can already see that you're following best practices.
this is cool, but word to the wise - I used hono stack for typesafety but typechecking broke after I wrote too many endpoints (20+), so I ended up having to rely on creating custom serializers which I could get type inference from for both the frontend and backend
Why not just trpc? I liked the caching idea ill use it in my projects moving forward
3 місяці тому
Probably because he deploys the Hono app separately to Cloudflare Workers. You can probably do the same with TRPC and the fetch adapter but this seems simpler.
The screenshot of the video threw me off. Was about to ignore but happy I clicked! There’s a lot of tech you are glancing through in the video. Is there more in-depth video about the use query and the cache that you shared before?
Server actions are not recommended for data fetching in Next.js but for mutations only. So I think it's better to opt for something like tRPC anyways. Plus, things like middleware and other stuff are available with tRPC. With server actions, you'll have to write all of those yourself. There are probably more reasons.
jstack: because what the world really needed was another stack-just in case you were getting too comfortable with the other 387 you still haven’t finished learning! Jokes aside, 3 weeks ago you published video "My Favorite Tech Stack for 2024" :D
Iam yet using next T3 in pages mode for our railway apps, I was wondering if I can combine jstack with T3/pages for the move transition, in next you can work both with pages and app. T3 Trpc doesn't allow this combinaison. I will test out that.
it depends on what you're doing... Many java (spring web for example) are too convoluted for simple things. But I don't understand why people are shitting on Java, it scales well, it is fast and a safe language.
This is great Josh. Maybe consider using a more professional name like "Edgestack". I think if this is meant to be taken seriously, the name should be more meaningful. "Jstack" sounds somewhat childish, which may not be ideal if you want this to be a popular project. Additionally, a long tutorial explaining all the details would be appreciated, even before having documentation.
Why is he so awesome 😮🎉 I have to often press pause to cope 😅 but he is nonetheless such an amazing driver for inspiration 🎊 🎉😊 He deserves to be recognized beyond the 2 well known Primary’ and Third3’ (you know who they are)’ ❤
we really got jstack before GTA6
all jokes aside, excited to check it out :)
Love it - I`m a beginner at coding, and everything I do is low code/no code, but I`m in deep with a full stack for SaaS development too - built on vercel, next, redis, fastapi, and some other integrations - appreciate the video and love your enthusiasm
Now I'm ready to write "10 years of Jstack experience" on my resume!
Great content as usual! Thank you ❤
This is really cool! Thanks man
Change Prisma to Drizzle and we'll be cool.
Or better yet, raw dog sql
JS world need some stability not cool new things every 3months.
We are not in "post-prisma" only media hypes.
Prisma for edge? Why not Drizzle?
Yeah I was thinking the same thing when I saw almost 1mb gzip, if I am not mistaken you cannot send too much js to the edge
@@andreilucasgoncalves1416 i havent used drizzle so what does drizzle do that he should have considered it over prisma? and yeah you cant send too much
@@harshitpant07 I normally write Raw SQL and most of my coworkers too, if you use postgres you can have a linter check errors in the SQL, and you can use something like knex to create the boilerplate for the inserts
I tested drizzle, but random bugs with migrations pissed me off so I dropped
i would never use prisma for more complicated apps. its slow af and not flexible
I'm impressed by your project's potential, and from just glancing at the Next app's well-organized structure and your thoroughly documented commits, I can already see that you're following best practices.
now you need to upload a full 12h tutorial with the jstack 😛
He just did 😀
this is cool, but word to the wise - I used hono stack for typesafety but typechecking broke after I wrote too many endpoints (20+), so I ended up having to rely on creating custom serializers which I could get type inference from for both the frontend and backend
what do you mean by broke?
I have experienced the same issues with type inference when having many routes.
@@revanzakurniawan5466 you can't compile the code with type checking enabled - fwiw this is a TS specific limitation
What camera do you use Josh?
How come you've decided not to use trpc? How's your implementation different?
sam meech-ward release similar stack video tutorial right?
Why not just trpc? I liked the caching idea ill use it in my projects moving forward
Probably because he deploys the Hono app separately to Cloudflare Workers. You can probably do the same with TRPC and the fetch adapter but this seems simpler.
Cool! What are the differences between the jstack vs those nextjs app that using next-on-pages for cloudflare pages?
Direct competitor of T3 stack😅
Seriously
Doesn’t seem to differ much. T3 is a starter for you to modify, why copy it and call it jstack 🤔
almost there😅
The screenshot of the video threw me off. Was about to ignore but happy I clicked! There’s a lot of tech you are glancing through in the video. Is there more in-depth video about the use query and the cache that you shared before?
How is this different from T3 and why focus on Trpc when there are server actions??
Server actions are not recommended for data fetching in Next.js but for mutations only. So I think it's better to opt for something like tRPC anyways. Plus, things like middleware and other stuff are available with tRPC. With server actions, you'll have to write all of those yourself. There are probably more reasons.
jstack: because what the world really needed was another stack-just in case you were getting too comfortable with the other 387 you still haven’t finished learning! Jokes aside, 3 weeks ago you published video "My Favorite Tech Stack for 2024" :D
hey josh whats makes you energetic while building project
Money
ok
is hono and redis just preferences can they be easily replaced / removed?
Man ur just great
Finally, the T3 stack has an alternative. But why prisma?
Does Cloudflare support middlewares, ISR, image optimizations, etc?
Nope. Middleware yes
Isr no
Image optimization no
Weren't you big on Drizzle? What happened there, why Prisma now?
Does it work with superbase, mongodb instead of neon?
Iam yet using next T3 in pages mode for our railway apps, I was wondering if I can combine jstack with T3/pages for the move transition, in next you can work both with pages and app. T3 Trpc doesn't allow this combinaison. I will test out that.
Does it support All Nextjs features such as Image optimization and server functions etc ...
No. As soon as he said cloudflare, next images went out the window. Unless you tweek loader settings
Looks really good apart from Prisma. With it being aimed at Edge im surprised by thay choice
Why not Drizzle?
Is separate backend, in java for example, completely obsolete at this point?
it depends on what you're doing... Many java (spring web for example) are too convoluted for simple things. But I don't understand why people are shitting on Java, it scales well, it is fast and a safe language.
just noticed the website has create next app as its title still. Please change it
Sounds really cool.
this looks great!
Finally a real tech stack, not a boiler plate already written and calling it a stack 😂
0:38 fast as 😅 I see what do did there
Add choices between Prisma and Drizzle sir Josh
I love it, thanks
I will try it this weekend...
prisma?? why prisma?
prisma?
yep pluggin it in
Prisma and fast in one sentence? Hell, nah, other than that, it looks sweet 👌
Is it just me or ORMs are never a finished product, they always lack functional features.
@@anasouardinithat's why you should raw dog sql
@@anasouardini Why do you say that? What types of more functional features?
Hey! josh waiting for some cool projects with AI integration
8:04 this recent request is not needed my friend
fast as fuck... procedes with server componentd which are everything, but fast as fuck...🤔
My GOAT
nur bahnhof.. ohne docs bleibt es wohl bahnhof :D
Drizzle would be better.
jostack was great. why did you change?
Maybe to get "js" in the name
Damnnn 🎉🎉
why choose prisma ?
High performant? I don't think that's a good adjective for a framework like NextJS. I'm talking about Go of course
You are legendary 👑
pls use biome instead of eslint in 2024
this. using biome and instead of eslint + prettier was the best decision ever. so much simpler and just one config file.
No
Can I use eslint plugin for react query with biome?
want drizzle ASAP!
are you kidding? fast as f* and prisma? lmao
Cool stuff
❤
No hell no Prisma
Babe wake up jimmy neutron dropped another banger 😅
web dev slop
What about the SEO when you use useQuery to fetch the data?
just curious, what is the correlation between useQuery and SEO?
oke...
yarn ew
what browser you are using??
it's arc bro, like the most hyped browser??
Bro at least change the "Create Next App" Title of the page haha
im usually not this early
Anyone know how tonuse t3 stack on app and page router simultaneously?
First 🥇
This is great Josh. Maybe consider using a more professional name like "Edgestack". I think if this is meant to be taken seriously, the name should be more meaningful. "Jstack" sounds somewhat childish, which may not be ideal if you want this to be a popular project. Additionally, a long tutorial explaining all the details would be appreciated, even before having documentation.
Why is he so awesome 😮🎉 I have to often press pause to cope 😅 but he is nonetheless such an amazing driver for inspiration 🎊 🎉😊 He deserves to be recognized beyond the 2 well known Primary’ and Third3’ (you know who they are)’ ❤
Just use next-safe-actions
why do you think it is a better choice?
@@andreimocanu8732 it has more features out of the box and multiple parameters to disable and enable whatever features you want
What a legend. Thank u for this amazing contribution 🥹