Learn SvelteKit by building a Full Stack CRUD app | SvelteKit & Firebase (Auth + DB)

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ส.ค. 2024
  • This SvelteKit crash course will teach you all the essentials for full stack development with SvelteKit + Firebase (auth & database). We cover all the best practices for svelte stores, state management, authentication, routes, styling, responsive web app development and learn how we can implement all the CRUD operations using Firestore and Firebase Auth.
    #Fullstack #sveltekit #Firebase #programming
    🔗 Resources
    Init SvelteKit - kit.svelte.dev/docs/creating-...
    Github repository - github.com/jamezmca/sveltekit...
    FIrebase docs - firebase.google.com/docs/web/...
    Font Awesome CDN - cdnjs.com/libraries/font-awesome
    🔥 Get More Content - Subscribe and click le notification bell to stay tuned for all the fun & exciting tutorials to come!
    Roadmap - roadmap.smoljames.com
    Courses - smoljames.com
    📚 Chapters
    00:00 Intro + Demo
    01:49 Build SvelteKit App
    01:46 Init & configure Next.js project
    45:24 Firebase Auth + DB
    🔖 Topics Covered
    - How to build a full stack app
    - Learn SvelteKit
    - Responsive web design
    - Firebase Auth + Firestore noSQL databases

ความคิดเห็น • 58

  • @audraogilvy4781
    @audraogilvy4781 8 หลายเดือนก่อน +5

    Wow. That was a blitz, and everything worked! Thank you - this was really helpful. I appreciate you taking time to put the sensitive info in a .env file.

  • @johnpeap
    @johnpeap ปีที่แล้ว +6

    Thanks man, there isn't a lot of up to date SvelteKit content out there, keep it up!

    • @Smoljames
      @Smoljames  ปีที่แล้ว +4

      Might have to make some more videos on Sveltekit then aye :)

  • @stevekelly4347
    @stevekelly4347 ปีที่แล้ว +5

    Superlative content , James I've watched the video twice so far as there is so much to unpack in this one , best Sveltekit CRUD on youtube ! Really liked your take on floating-labels.

    • @Smoljames
      @Smoljames  ปีที่แล้ว +1

      Thanks for the comment - that's very kind. I'm glad you enjoyed the video 😊

  • @aethervox
    @aethervox ปีที่แล้ว +10

    Excellent work! Flexbox is still a bit foreign for me even still, but I like that you spent time working through common styling needs!

    • @Smoljames
      @Smoljames  ปีที่แล้ว +1

      haha thanks for the comment - as with anything, it'll come with practice :)

  • @AA-tm3ew
    @AA-tm3ew 3 หลายเดือนก่อน

    awesome video.. concise, to the point and hands on...

  • @mrbjjackson
    @mrbjjackson ปีที่แล้ว +7

    Hi James, thanks for making this. You're solving the problems that I'm having trouble with at the moment. Just one bit of constructive criticism: I think it would improve your content if you were to bundle the different aspects to this project into different sections. (i.e. a section on auth, a section on db, a section on styling). As they are very much intertwined in this video, I can't watch the Auth stuff I'm interested in without searching for those little nuggets in amongst you adding CSS to stuff - which is all stuff I know. Might just be me, I don't know. But I thought I'd offer the feedback :) Thanks again.

    • @Smoljames
      @Smoljames  ปีที่แล้ว +1

      Hi Ben - thanks for the comment, it's a really good point & I see where you're coming from. In future, I will try to keep clearer divisions between the sections :)

  • @kirkmham
    @kirkmham ปีที่แล้ว +1

    You da best for this one. GOATed.

  • @roblesrt
    @roblesrt ปีที่แล้ว +1

    Great stuff! Got me subscribed for more Svelte/SvelteKit goodies! Thanks for sharing!

    • @Smoljames
      @Smoljames  ปีที่แล้ว

      Glad you enjoyed :) thanks for the comment!

  • @Becky1498
    @Becky1498 ปีที่แล้ว +2

    Awesome tutorial!

  • @cristobalsepulvedaalvarez7330
    @cristobalsepulvedaalvarez7330 ปีที่แล้ว +1

    Thank you!

  • @hemnath7774
    @hemnath7774 ปีที่แล้ว +1

    Great tutorial man🥳, it was easy to follow and explained well. Keep doing more stuff on SvelteKit & Firebase...

    • @Smoljames
      @Smoljames  ปีที่แล้ว

      Glad you liked it!

  • @omercelebi2012
    @omercelebi2012 6 หลายเดือนก่อน +1

    Very good tutorial, thanks for you time and effort!

    • @Smoljames
      @Smoljames  6 หลายเดือนก่อน

      Thanks for the comment & you're more than welcome :P

  • @hemnath7774
    @hemnath7774 ปีที่แล้ว +1

    +suggestion - On further videos please breakdown & explain complex things step by step for more clarity, it would be helpful for beginners.. Nice work👏

    • @Smoljames
      @Smoljames  ปีที่แล้ว

      Noted! thanks for the feedback

  • @vking225
    @vking225 3 หลายเดือนก่อน

    bro i fucking love you
    not gonna lie
    i was having a hard time following you as i was changing things up when i was following
    the favicons thing didnt work so had to use buttons
    and the firebase thing was having issues with storing the todos but somehow managed to get it fixed
    eternally grateful bro

  • @RidingWithJake
    @RidingWithJake 11 หลายเดือนก่อน +2

    With the way you've structured this project, every time one of the authHandlers methods is called, the http POST request is shown in the console with API key attached in plain text. Is there a way with SvelteKit to ensure that those methods are only run on the server to avoid exposing the key?

  • @Saso-me3ow
    @Saso-me3ow ปีที่แล้ว

    Smooth video, can you remind me how did you prevent the page show on a non authenticated route? (when trying to reach dashboard before the login for example)

  • @viewee22
    @viewee22 ปีที่แล้ว +1

    Thank you so much

    • @Smoljames
      @Smoljames  ปีที่แล้ว

      Happy to be of service!

  • @lechiffrebeats
    @lechiffrebeats 11 หลายเดือนก่อน +1

    excellent explanation man thx alot!

    • @Smoljames
      @Smoljames  10 หลายเดือนก่อน

      More than welcome!

  • @twd2
    @twd2 ปีที่แล้ว +1

    first, thanks for your big efforts, and a great tutorial, I have just a question. can we do that in the form actions and instead of stories we could use the hooks !!! really like your styling 😉...

    • @Smoljames
      @Smoljames  ปีที่แล้ว +1

      Thanks for the comment :) and yes I'm sure you could just use the form actions and use hooks instead of the store. Might be a bit of reconfiguration but I'm sure it's doable:)

  • @bot5am
    @bot5am 11 หลายเดือนก่อน +1

    Thanks James very helpful video

    • @Smoljames
      @Smoljames  11 หลายเดือนก่อน

      More than welcome :)

  • @speedster784
    @speedster784 ปีที่แล้ว +2

    It would be great to have more next js 13 projects especially with the changes in 13.2

    • @Smoljames
      @Smoljames  ปีที่แล้ว +1

      sounds like a plan :)

  • @clanguser
    @clanguser ปีที่แล้ว +1

    actual GOAT

  • @adrianfr05
    @adrianfr05 ปีที่แล้ว +1

    I loved this tutorial and it was pretty simple to follow, if I were to ask for something to improve it would be if you could maybe try to explain why you do some things but either way it was a good video to follow along.
    I'm trying to deploy the app to vercel but when I build it and run npm run preview it works fine but when I finally deploy it on vercel it throws an error :
    This Serverless Function has crashed.
    Your connection is working correctly.
    Vercel is working correctly.
    500: INTERNAL_SERVER_ERROR
    Code: FUNCTION_INVOCATION_FAILED

    • @Smoljames
      @Smoljames  ปีที่แล้ว

      Glad you found the tutorial useful and thanks for the feedback! It's good advice :) As for the error, i'm not super familiar with deployment on Vercel but im sure there's some good documentation out there as to how you can deploy a nextjs app on vercel!

  • @wadoudazer6906
    @wadoudazer6906 8 หลายเดือนก่อน +1

    hello , thank you a lot , this project was amazing but next time don't take so much time in styling ! thank you again :)

    • @Smoljames
      @Smoljames  7 หลายเดือนก่อน

      Haha noted!

  • @user-ii7xc1ry3x
    @user-ii7xc1ry3x 9 หลายเดือนก่อน

    Loved this Svelte+Firebase stack. Isn't there another way to structure the code, as in not having the logic (js) + html + css in the same file? Having a file for, at least, the css alone would make it feel less cluttered and more legible

    • @chrisnash584
      @chrisnash584 9 หลายเดือนก่อน +1

      Yeah I believe you can make a separate app.css and import it into your svelte file inside the script tag

  • @xade8381
    @xade8381 ปีที่แล้ว +1

    thanks a lot

    • @Smoljames
      @Smoljames  ปีที่แล้ว +1

      You are most welcome :)

  • @adocarpel7770
    @adocarpel7770 7 หลายเดือนก่อน +1

    excellent maybe someone knows how to create the dist directory to upload to firebase

  • @samfights
    @samfights ปีที่แล้ว +1

    would you use svelte in a production project?

  • @Zylops
    @Zylops 11 หลายเดือนก่อน +2

    It'd have been much easier and to the point if you made the app functional, and made styling an optional part somewhere at the end, as were mostly here for the functionality part.

    • @Smoljames
      @Smoljames  11 หลายเดือนก่อน +1

      Noted - thanks for the feedback!

  • @marlopainter8246
    @marlopainter8246 11 หลายเดือนก่อน +1

    You had me at 26:20

  • @deger.ogretmen
    @deger.ogretmen 5 หลายเดือนก่อน

    ​ @Smoljames thanks for video. But I think this video is about Css and styling. 80% of the content is writing style classes. Please make such courses about what it is. Maybe you should use zero css or share the complete style.css from here and focus on Svelte and Firebase. Thank you in advance.

    • @Smoljames
      @Smoljames  5 หลายเดือนก่อน

      Good feedback - I think you make a good suggestion and I'll be sure to incorporate it in future so that it's more focused on sveltekit!

    • @deger.ogretmen
      @deger.ogretmen 5 หลายเดือนก่อน

      Sorry but in whole first 30 minutes you only show styling and css classes. I thought I am watching wrong course, not Svelte but CSS. Normally it takes 2 or 3 minutes to prepare basic login and register form component.

    • @deger.ogretmen
      @deger.ogretmen 5 หลายเดือนก่อน

      @@Smoljames I don't want to be misunderstood. The course is awesome as a full stack crud/auth app. As an exprienced React and Vue developer, I just want to more Svelte things rather than Css. But I think it depends.

  • @drivebuss8079
    @drivebuss8079 11 หลายเดือนก่อน +3

    you are css guy but the way your develop svelte component and manage forms is wrong.

  • @asatorftw
    @asatorftw ปีที่แล้ว +1

    Title is somewhat missleading cause it feels like you did not use a lot of SvelteKits features. I only saw Svelte features. But also i mostly skimmed over the video so maybe i missed it😅

  • @drivebuss8079
    @drivebuss8079 11 หลายเดือนก่อน +9

    you should have named the video, learn CSS rather than learn SvelteKit

    • @Action2me
      @Action2me 6 หลายเดือนก่อน

      Dude for real.

  • @themetsochist
    @themetsochist 2 หลายเดือนก่อน

    Awesome video! This would be considered an SPA right? What structural differences would have to be made in order to make a MPA? @Smoljames