From 0 to Production - The Modern React Tutorial (RSCs, Next.js, Shadui, Drizzle, TS and more)

Поділитися
Вставка
  • Опубліковано 21 тра 2024
  • The Modern React Tutorial is FINALLY done. This one took awhile.
    Shoutout to ALL the awesome sponsors who made this possible:
    - Vercel
    - Clerk
    - Posthog
    - Sentry
    - Upstash
    NOTES I MENTION DURING VIDEO
    "Nextgram": github.com/vercel/nextgram/tr...
    "useUploadThingInputProps": gist.github.com/t3dotgg/0464c...
    GITHUB REPO github.com/t3dotgg/t3gallery
    TIMESTAMPS (TY EMBED ❤️)
    00:00 - Intro + Sponsors
    03:30 - Scaffolding the project
    06:12 - Creating our todo list
    08:39 - Creating repo & pushing to GitHub
    10:23 - Linking our repo to Vercel
    12:07 - Deploying to Vercel
    13:32 - Setting up uploadthing for images
    15:40 - Displaying our mock data
    17:35 - Next.js Layouts Explained
    19:45 - Scaffolding our UI
    21:47 - Tidying up builds & enabling turbo
    24:18 - Setting up our Database
    35:14 - Dynamic Routes
    37:40 - Changing our database schema
    43:00 - Adding authentication
    54:04 - Setting up image uploading
    01:04:10 - Connecting users to images
    1:09:41 - server-only & React Taint
    1:17:18 - The next/image Component
    1:22:58 - Error management w/ Sentry
    1:32:07 - Image page w/ Parallel Routes
    2:04:15 - Fixing the upload button
    2:11:05 - Setting up toaster w/ shadcn/ui
    2:26:40 - Adding analytics w/ PostHog
    2:38:21 - Delete button w/ Server Actions
    2:49:52 - Adding rate limits w/ Upstash
    2:56:44 - Locking down uploads
    3:00:59 - Challenges for the Viewer
    3:02:35 - Outro
    Check out my Twitch, Twitter, Discord more at t3.gg
    S/O Ph4se0n3 for the awesome edit 🙏
  • Наука та технологія

КОМЕНТАРІ • 459

  • @t3dotgg
    @t3dotgg  Місяць тому +131

    UPDATES:
    - create-t3-app now uses latest Next, which should fix some bugs with hot reloading on parallel routes
    - MAKE SURE YOU USE THE DEFAULT PREFIX WHEN SETTING UP VERCEL POSTGRES
    - Clerk Core 2 is no longer in beta! If you just `pnpm install @clerk/nextjs` you will have this version now :)
    Oh also - GITHUB REPO IS HERE: github.com/t3dotgg/t3gallery

    • @shivammishra1980
      @shivammishra1980 Місяць тому

      Should I use dependency injection with posthog? if in case I want to migrate to something like mixpanel?

    • @zxcaaq
      @zxcaaq Місяць тому +1

      ur a legend

    • @mazwrld
      @mazwrld Місяць тому

      💜

    • @kingjune6685
      @kingjune6685 Місяць тому

      when will the t3 stack updated

    • @georgepetroff2364
      @georgepetroff2364 Місяць тому

      Thanks Theo, amazing tutorial as always ❤Recently you are bringing back the vibes of the time when pokemon roundest was around 😁would be amazing bringing new updated version of it tho'. UPLOADTHING is a game changer, finally something more about it too

  • @qwerasdfhjkio
    @qwerasdfhjkio Місяць тому +275

    "primeagen still had a job"🤣

  • @lukem121
    @lukem121 Місяць тому +505

    Wow nice, I have been looking forward to a video that isn't you reading an article or documentation. It's nice to see some actual programming 😁 Thank you for the vid!

    • @Amruth
      @Amruth Місяць тому +14

      Honestly, this is the kind of content I subscribed for. Really respect Theo for putting out content like this for free that's extremely useful and especially targeted towards intermediate devs. A lot of the content is only for beginners.

    • @RobertMcGovernTarasis
      @RobertMcGovernTarasis Місяць тому +1

      Indeed, only came across Theo a little while back and only ever seen him as a talking head. Not an actual coder, so this was quite informative

    • @Joseph-Codes
      @Joseph-Codes Місяць тому +1

      Watch his lives

    • @good_eats876
      @good_eats876 Місяць тому +1

      Amazing comment !!!!!

    • @crowlsyong
      @crowlsyong Місяць тому +1

      I agree

  • @R0cky0
    @R0cky0 Місяць тому +89

    Yo, I want to appreciate for the amount of work and effort you put into this also by not putting up a paywall and choosing not to take the easy path. Making this available (for free) to the community is truly commendable. Your work is worth so much more than those who charge for courses however are much less informative than this. A million thanks!

    • @carvierdotdev
      @carvierdotdev Місяць тому

      Yes and yes. I completely agree with you. I feel that we are very lucky to have such incredible people in the JS community with such background..

  • @embedyt
    @embedyt Місяць тому +151

    Timestamps
    00:00 - Intro
    00:47 - Who, What & Why
    03:30 - Scaffolding the project
    06:12 - Creating our todo list
    08:39 - Creating repo & pushing to GitHub
    10:23 - Linking our repo to Vercel
    11:00 - Fixing the Environment Variables
    12:07 - Deploying to Vercel
    13:32 - Setting up uploadthing for images
    15:40 - Displaying our mock data
    17:35 - Next.js Layouts Explained
    19:45 - Scaffolding our UI
    21:47 - Tidying up builds & enabling turbo
    24:18 - Setting up our Database
    35:14 - Dynamic Routes
    37:40 - Changing our database schema
    43:00 - Adding authentication
    54:04 - Setting up image uploading
    01:04:10 - Connecting users to images
    1:09:07 - What's next (Take break here)
    1:09:41 - server-only & React Taint
    1:17:18 - The next/image Component
    1:22:58 - Error management w/ Sentry
    1:32:07 - Image page w/ Parallel Routes
    2:04:15 - Fixing the upload button
    2:11:05 - Setting up toaster w/ shadcn/ui
    2:26:40 - Adding analytics w/ PostHog
    2:38:21 - Delete button w/ Server Actions
    2:49:52 - Adding rate limits w/ Upstash
    2:55:05 - Redeploying to Vercel
    2:56:44 - Locking down uploads
    3:00:59 - Challenges for the Viewer
    3:02:35 - Outro

    • @t3dotgg
      @t3dotgg  Місяць тому +37

      THANK YOU

    • @akinoreh
      @akinoreh Місяць тому +2

      @@t3dotgg It'd be nice if this was also a playlist with shorter videos. It's easier to consume that way. Personally, I won't be watching this in one go. While having chapters help, it's still one video.
      Haven't started yet, but I'm curious how beginner friendly this is. While I'm good at JS, I haven't tried any front-end library/framework (although, I keep tabs on them). So I think it requires some kind of leap from plain JS to front-end libraries. I currently have that mental gap. Hope this helps a little.

    • @RogueTravel
      @RogueTravel Місяць тому +10

      @@akinorehI’d be so sad if this was broken up into a playlist.

    • @akinoreh
      @akinoreh Місяць тому +1

      @@RogueTravel Notice the "also". Besides, what's the advantage of a single video (contrary to a playlist)?

    • @JSLegendDev
      @JSLegendDev Місяць тому +10

      @@akinoreh As someone who makes programming tutorials (JavaScript gamedev tutorials), there are big negatives with publishing in multiple parts. Here are the main two :
      - Next parts will always make progressively less views than the first part giving the impression that your channel is dying.
      - It clutters your channel and makes it hard to find content.

  • @woet7891
    @woet7891 Місяць тому +1

    Love it! Was needing this a lot 🙏🙏 Most tutorials out there tend to leave important stuff out that's needed for any decent production application like the error monitoring, event tracking and rate limiting so it was super useful to see how you're tackling this

  • @lasso01
    @lasso01 Місяць тому +7

    Amazing content. I don't usually watch that many tutorials anymore, but this feels exactly what i needed to hone my skills with all the new stuff. Thanks Theo!

  • @madhudson1
    @madhudson1 Місяць тому +12

    haven't watched it yet, but the fact that you've put this out for free is incredible

  • @johnbauer9907
    @johnbauer9907 Місяць тому +4

    Thank you. I dont use any of this stack except for typescript and it is nice to see the start to finish...

  • @CharlieBelvo18
    @CharlieBelvo18 29 днів тому +1

    Incredible tutorial, maybe the best overview I"ve ever seen to build and deploy a webapp. Thanks Theo for showing the rest of us the way

  • @Fanaro
    @Fanaro Місяць тому +4

    Crazy that a master software engineer such as Theo has infra this accessible and simple.

  • @mchisolm0
    @mchisolm0 17 днів тому

    Thanks again for the tutorial. Finally made it through and I feel I have learned a lot. Appreciate your time and the sponsors' willingness to partner with you to make it happen.

  • @metatronicx
    @metatronicx Місяць тому

    Thank you Theo for this video.
    Thanks for showing us how we should manage and succeed in every project. Y'all dev brothers, never forget to-do lists. They are crucial

  • @oxnull738
    @oxnull738 Місяць тому +8

    Finally, a video where you're not just reading from an article.

  • @julietaparpinelli7162
    @julietaparpinelli7162 29 днів тому

    This video is just amazing! Thank you so much!! I appreciate that we can all see you coding and facing real-life errors and being honest about them. 👏

  • @joshuaborseth
    @joshuaborseth Місяць тому +41

    The hair covering your face is giving me OG roundest Pokémon theo vibes

    • @t3dotgg
      @t3dotgg  Місяць тому +18

      This was semi intentional

    • @l-Il.-._.-.lI-l
      @l-Il.-._.-.lI-l Місяць тому +1

      Keeping it real for the nerds

    • @vitorwindberg4212
      @vitorwindberg4212 Місяць тому

      damn the roundest pokemon nostalgia hit me with this comment

  • @ErikTheHalibut
    @ErikTheHalibut Місяць тому

    Theo, please keep making tutorials like this! This is extremely helpful as a learning dev.

  • @zilvinas5130
    @zilvinas5130 Місяць тому +1

    Just finished tutorial. Gotta say, gallery app was, in my opinion, an amazing choice for a project to showcase RSCs. For me, handling file uploads, storage, all the authentication that comes with it, was always a stressful experience and seamless integration this project provides is an amazing resource.
    10/10. Keep up the amazing work, Theo!

    • @divyanshrawat2859
      @divyanshrawat2859 26 днів тому

      bro my drizzle sudio is not opening at 4983 instead its showing 404 error , can you help ?

  • @jessequartey
    @jessequartey Місяць тому

    Watching this, i realize how much influence Theo has. I use most of these technologies in my production apps. And the startups i build for might keep using them for a long time too. I hope they are paying you a lot of money for the market you bring.

  • @zainraz4
    @zainraz4 Місяць тому +11

    YESSS BEEN WAITING FOR THIS!! Can’t wait to watch and follow along!

  • @nikensss
    @nikensss Місяць тому +3

    6:23 right! so let's build a todo-list app first! haha Great video, I was actually considering asking somewhere if there were plans for a tutorial after the recent changes in so many technologies and platforms. Thanks a ton for videos like this. Introductory tutorials are nice, but at some point people start needing next level content, and this is about it!

  • @user-dm8sw5qn4p
    @user-dm8sw5qn4p Місяць тому

    Theo, just four words: you made amazing tutorial!!! Thank you

  • @caiolaytynher5994
    @caiolaytynher5994 Місяць тому +2

    Literally started learning this stuff yesterday, seems made for me

  • @Oseille
    @Oseille Місяць тому +1

    just finished this awesome tutorial, the modal is not closing when deleting the image from the photo modal, but it works from the photo page. very valuable content to kickstart nextjs learning.

  • @NaranuCS
    @NaranuCS 8 днів тому

    Great tutorial btw, I'm starting to branch out towards next.js and react coming from Java and PHP (not together but from my last two jobs) so is extremely exciting to see how powerful all these tools are!

  • @desertislanddivs
    @desertislanddivs Місяць тому

    This was so awesome, thanks so much for pouring all the time, blood and syntax into it for us ^^

  • @recksonkhiangte1488
    @recksonkhiangte1488 Місяць тому

    Oh wow! This is crazy, thank you for putting this out.

  • @jacobvanschenck
    @jacobvanschenck 28 днів тому

    What a legend. Thank you sir for all the work you put into this. Something to learn here for any dev of any skill level!

  • @xyz66z
    @xyz66z Місяць тому

    I love this guy! Teaches so natural. I'm yet to become the dev this video is meant for but I'd be soon! I'd be coming back that time ❤.

  • @alexandermackintosh1755
    @alexandermackintosh1755 Місяць тому

    Thank you so much this is incredibly useful content!! Just as i decided like a week ago to take the plunge to learn a bit about next hahah ❤

  • @AlexanderJuncosa342
    @AlexanderJuncosa342 Місяць тому

    Damn I was actually watching the old tutorial, this came just at the right time :D Great content!

  • @joeljededemekong5628
    @joeljededemekong5628 Місяць тому

    This is a blessing fr
    I’m so thankful that this exists

  • @23rbnHD
    @23rbnHD Місяць тому +1

    0 to Production with Full Test Coverage. That would be such an interesting follow up. Breaking down how each of the best practices and starting points your tutorial covers would fit into a CI testing stack (end to end and unit). That said, so far, so really really helpful. Thanks a bunch.

  • @prickitt
    @prickitt Місяць тому +2

    This is great, thanks for making it!

  • @dehrk9024
    @dehrk9024 Місяць тому

    idk what it is but theos videos make me so ready & awake & never give up never back down

  • @christianbauer3417
    @christianbauer3417 Місяць тому

    Wow, you are providing a ton of useful advice! This is awesome. Thanks a lot Mr T3 :-)

  • @jhkmatthews
    @jhkmatthews Місяць тому

    thanks Theo, great vid!
    at 1:40:45 - another approach that I like for breaking down changes into smaller commits is using VSCode Source Control tab to stage changes file by file (or line by line) for each commit

    • @vitorwindberg4212
      @vitorwindberg4212 Місяць тому

      yeah you can use terminal for that but I also use vscode interface for that, super useful and a lot easier to visualize

  • @ustav_o
    @ustav_o Місяць тому +2

    thats amazing. im doing it tomorrow and will come back here when i finish

    • @loryhoof
      @loryhoof Місяць тому +1

      Have you started yet

    • @ustav_o
      @ustav_o Місяць тому +2

      ​@@loryhoofjust finishes now, really great tutorial. one of the best we have here at youtube.
      really cool stuff, very well explained and would totally recommend

    • @loryhoof
      @loryhoof Місяць тому

      @@ustav_o I found it to be pretty ass but okay

  • @drunkenpigtnt1359
    @drunkenpigtnt1359 День тому

    Built a blog app with the help of this tutorial. Great vid, Theo.

  • @chadcummings4600
    @chadcummings4600 27 днів тому

    Congrats on the React Status Cooperpress newsletter headline mention. Love your channel and the work you do

  • @bbpfreddy
    @bbpfreddy 20 днів тому

    Amazing guide. always learn a thing or 2 by walking through this

  • @cariyaputta
    @cariyaputta Місяць тому

    Quality tutorial. Added this to my knowledge base.

  • @josef-stampede-ai
    @josef-stampede-ai Місяць тому +3

    Fantastic, cant wait to get stuck in !!!

  • @petarozretic6140
    @petarozretic6140 Місяць тому

    Was waiting for this, tyvm :D

  • @MilindMishra
    @MilindMishra Місяць тому +1

    Thank you for the honest video, really helpful!

  • @MrMazvaz
    @MrMazvaz 22 дні тому

    Quick tip using as a modal. To style the backdrop, just use the ::backdrop pseudo-class. In tailwind it would be className="backdrop:bg-zinc-900/50". This way you dont have to worry about the margins and having it cover the entire screen etc. The backdrop is already there for you

  • @subhranshudas8862
    @subhranshudas8862 Місяць тому +1

    Thanks Theo. You are a gift.

  • @kevinattinger9293
    @kevinattinger9293 Місяць тому

    Awesome Tutorial! Thank you so much. Going to build a full blown recipe - App with that

  • @Osirisdigitalagency
    @Osirisdigitalagency Місяць тому

    2mins 57 secs in and I already know this is going to be crazy. One time for Theo. U re the man. ❤

  • @codewithantonio
    @codewithantonio Місяць тому +48

    Lets goooooooooo

    • @t3dotgg
      @t3dotgg  Місяць тому +27

      I think you released 20 tutorials since I started planning this one 🙃

    • @Blade_Dhruv
      @Blade_Dhruv Місяць тому +5

      Thanks to both of you, I was able to learn coding because of you guys, thanks my real teachers🙇🏻‍♂️

  • @dian_youtubes
    @dian_youtubes Місяць тому

    This was amazing! Thank you Theo!

  • @SebastianGrantElKiva
    @SebastianGrantElKiva 18 днів тому

    Far away our best tutorial since

  • @saidyeter
    @saidyeter Місяць тому

    phenomenal tutorial. thanks theo

  • @AbdulRafay-vi6hz
    @AbdulRafay-vi6hz Місяць тому +5

    As a former web developer who now develops Android and iOS applications, I've noticed that web development has become more complex than ever.

    • @harshthakur1444
      @harshthakur1444 Місяць тому +1

      which shows how much flexible and a bitch JavaScript is 😂😂😂😂😂😂 , I think why some people decide to js instead of ts

    • @AbdulRafay-vi6hz
      @AbdulRafay-vi6hz Місяць тому

      @@harshthakur1444 🤣🤣

  • @supriyomonndal6199
    @supriyomonndal6199 Місяць тому

    Absolutely love this man.

  • @Fanaro
    @Fanaro Місяць тому +1

    This tutorial is just so good.

  • @warricksullivan
    @warricksullivan Місяць тому

    Thanks Theo. Loved this video. Nice work and very much appreciated. You hinted at your thoughts on trpc uses. Do you have any more detailed content on your use cases for trpc with nextjs app router? Keep up the great work. :)

  • @timeforrice
    @timeforrice 29 днів тому

    This is such an amazing tutorial!

  • @jhimymichel3045
    @jhimymichel3045 Місяць тому +1

    thanks for the tutorial Theo 🥰

  • @rohitkochikkatfrancis
    @rohitkochikkatfrancis Місяць тому

    THE TUTORIAL WE ALL NEEDED !!!!

  • @pavelstastny7892
    @pavelstastny7892 Місяць тому

    Thanks for this. This is the MVP move.

  • @JEM_GG
    @JEM_GG 16 днів тому

    It was all worth it for the biscuits at the very end

  • @user-cf3ls6es2b
    @user-cf3ls6es2b Місяць тому

    I love when Theo teach, i just follow and finish it

  • @keithjohnson6510
    @keithjohnson6510 Місяць тому

    Just started using Drizzle, gets a thumbs up from me.
    Of course the typing's are a real +, but what I really like is that you can use composition to build your query's. eg. lets assume you have a complex sub query you want to say do an `inArray` with, you can then create a function and re-use in other query's, you could say it's a bit like Views but been able to use props, and of course still have strong typing's. Nice!!!!

  • @JoctanNeves
    @JoctanNeves 17 днів тому

    Thanks Theo, this video are amazing!

  • @t1m3__
    @t1m3__ 27 днів тому

    Thanks Theo, it's a great tutorial!

  • @declspecl
    @declspecl Місяць тому

    thank for for this theo 🙏everybody pump up the algorithm RAHHH

  • @erickhar
    @erickhar 15 днів тому

    Hey theo. This is such a great video thank you :)

  • @bro-watch
    @bro-watch Місяць тому

    amazing content
    drizzle seems truly awesome

  • @dehrk9024
    @dehrk9024 Місяць тому

    omg i learned so much in this thanks theo

  • @chisomoguibe8467
    @chisomoguibe8467 Місяць тому

    Awesome video! I definitely learnt a few things from the walkthrough. One thing that irks me though is when adding new env vars to your local repo and then having to remember to add them into vercel. I use Doppler to have them sync in both places. the dev experience is really nice. wondering what your thoughts are on tools like Doppler?

  • @craigcaski
    @craigcaski Місяць тому

    I was just wishing for this exact video

  • @Goglarnik
    @Goglarnik Місяць тому

    I rarely comment on any videos at all, but felt the need to say: "Thank you". Thank you :)

  • @VincentFulco
    @VincentFulco Місяць тому

    Thanks Theo, much appreciated

  • @vatsalyavigyaverma5494
    @vatsalyavigyaverma5494 Місяць тому

    Omg shots fired, primeagen will throw some algo in few moments

  • @Pixelume
    @Pixelume Місяць тому +2

    Theo you are a ROCKSTAR! I can barely contain my excitement to work through this tutorial. Thank you!

  • @JohnSmith-gu9gl
    @JohnSmith-gu9gl 25 днів тому +1

    you really have to give Remix a try!
    less overhead and feels like a simple express middleware.

  • @omelettttttteeeeeee
    @omelettttttteeeeeee 3 дні тому

    this is sick. thanks!

  • @lgf-sq9yf
    @lgf-sq9yf 26 днів тому +1

    Amazing tutorial Theo! Thought could've complete this 3 hour tutorial in a day but it actually took me 3, and I'd learnt so much from it!
    However I have few questions:
    1. Why did you not use tRPC for this? Is it because it currently doesn't support multipart form for uploading images?
    2. Why did you decided to change to use pnpm from npm, I tried using pnpm too and I'm so not used to the syntax. Is the benefit of using pnpm in the long run be greater than just sticking to npm?

  • @thunderstein5041
    @thunderstein5041 Місяць тому

    the Primeagen joke is why I'm a Subscriber.

  • @PRICEGWX
    @PRICEGWX Місяць тому

    Great video!! You mentioned at the start that you'd go over where TPRC is still valuable in full stack apps, did I miss this? I'm wondering at what point I'd need to start using it rather than server actions...

  • @MikeNugget
    @MikeNugget Місяць тому

    Great, this is what I was waiting for!
    When is the next one for React Native? 😊

  • @user-gq6wp2ll2s
    @user-gq6wp2ll2s Місяць тому

    Fantastic tutorial! For someone who has never used TS/TW/analytics/ratelimiting....I managed to follow along just fine, and even understand, (i think) what was going on! Either way it works so thank you @t3dogg for such a great walkthrough

  • @user-vh3xr2cj8b
    @user-vh3xr2cj8b Місяць тому +1

    Thank you very much for the tutorial, Can you please make a tutorial about how to elegantly organize and maintain folder structures and files according to industry standard?

  • @Sammysapphira
    @Sammysapphira Місяць тому +4

    great video. There's such a lack of intermediate videos like this.

    • @orvvro
      @orvvro Місяць тому

      There are plenty, they're just not free, and hosted on sites like Coursera and Udemy

  • @JacoBoogie
    @JacoBoogie Місяць тому

    Well looks like imma be up late on a sunday night learning how ive been building my app the wrong way for the last year! lesss goo

  • @SReaperz
    @SReaperz 15 днів тому +1

    if anyone's posthog isn't working disable your adblock and try again until theo shows how to make it work with adblock too

  • @NoelmineZockt
    @NoelmineZockt Місяць тому +6

    My Go2Stack currently:
    React (RSCs), Next (App Router), Tailwind, react query, Shadcn, Drizzle, Lucia, (TS, pnpm). Hosting: Vercel, Turso, Railway
    Last year:
    React, Next (Page Dir), Tailwind, tRPC (with react query), Prisma, NextAuth, (TS, npm). Hosting: Vercel, Planetscale

  • @113bast
    @113bast 21 день тому

    Thanks for the very detailed tutorial ! Just curious, how would you deal with the improving the ids ? Because I think incremental is not that great

  • @KjetilYtrehus
    @KjetilYtrehus 19 днів тому

    More of this! More tutorials. More projects. More ShadcnUI component modifications. More interacting with databases and fetching different content. More State management tutorials (Zustand?). More Github Actions....

  • @kvdy
    @kvdy Місяць тому +1

    Thanks a ton man, this is exactly what I have been looking for. I come from strong backend development background and UI sometimes becomes trivial to setup and get it running the first day. But this has helped me to setup and get going in just 15 mins. Awesome..... Bring on more. I would like to explore this with AWS SDK as I need to grab my files from S3 and not uploadthing. Do you have any suggestions? or shall I use my backend api (springboot) to manage the files

    • @corybaker24
      @corybaker24 13 днів тому

      did you ever make any progress on getting files from S3 in this?

  • @myxchine
    @myxchine 5 днів тому

    Love this! What were the free alternatives to clerk mentioned in the video?

  • @RobinVeldhuis
    @RobinVeldhuis Місяць тому +1

    Commenting before watching because of the algorithm

  • @dainius84
    @dainius84 23 дні тому +1

    great tutorial, thank you, what's the extension used for autocomplete during this tutorial?

  • @Alivezombie16
    @Alivezombie16 Місяць тому

    I'd also love to see a video where you highlight the modularity - like migrating from Prisma to drizzle in a prod app

  • @danielj4860
    @danielj4860 Місяць тому +103

    If youre new please focus on learning all these techs and buzz words at a low level. Using abstractions over abstraction will only hurt you. Learn how to setup a small linux cloud instance yourself. Learn SQL queries without a orm and aurogenerated queries. Learn how auth works and create your own. Yes it takes 10x more time in the start but you wont be tied to specifc frameworks and lock in. When you interview for a job you will have a leg up on others. If you plan on working in tech in the age of AI you will have to really put the work in.

    • @dehrk9024
      @dehrk9024 Місяць тому +4

      Joe mama

    • @1kjm
      @1kjm 29 днів тому +8

      I agree with you although the most important thing is to start coding and stay motivated. If you go low level it won't be that easy.

    • @codyrap95
      @codyrap95 27 днів тому +5

      I agree with what you say but not with the approach. You should start coding/building sth and get employed ASAP. Motivation, money and energy are not unlimited. After getting a job and feeling rewarded by actually building something you can tackle the more difficult concepts, which will also help you in your job and not just for building hello world. Otherwise you will get stuck and frustrated trying to understand why you are learning SQL queries but you are still not able to make a basic UI.
      That's what I did and it went well. After getting a job I started learning advanced JS concepts, advanced git, accessibility, then NodeJS for backend, security, databases. If I went deep from the start, I would still be unemployed and frustrated today.

    • @Ahmed-ol5oe
      @Ahmed-ol5oe 26 днів тому

      ​@@codyrap95what did you focus on when you started

    • @zzzyyyxxx
      @zzzyyyxxx 26 днів тому

      ​@@codyrap95get employed ASAP while knowing nothing? I worked with people like that before (especially but not limited to bootcamp grads) and they all sucked, and the company fired them after 6 months when it was clear they didn't know even the basics. So I agree with the above commenter, yes it's important to have motivation but it's also equally important to learn the basics. If you need to gain motivation via building, then just build with the basics instead of abstractions, ie make apps with just HTML, CSS and JS without React at first.

  • @eggfriedrice-xs5ps
    @eggfriedrice-xs5ps Місяць тому

    egg fried rice thanks you my friend! You got green onions on top excited for web again!

  • @thegrumpydeveloper
    @thegrumpydeveloper 14 днів тому

    Never did I think that modern react would require diving into the taint.

  • @jacobbdev
    @jacobbdev Місяць тому

    Great tutorial. What's the advantage of using UploadThing over Vercel's Blob storage for the image upload?

  • @gavinlindridge
    @gavinlindridge Місяць тому

    Superb content!
    Out of interest which browser are you using in this?