Create a CRUD App with PocketBase and SvelteKit!

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

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

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

    Can't wait to see more on Sveltekit and PocketBase, my Hogwarts points systems using Kit and Pocketbase's Real-time feature was a success. The parents loved watching the house points update live as their kids played.

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

      Great there will be more coming soon after I wrap up a short detour on Google OAuth. Thank you for watching and I greatly appreciate your support!

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

    This is exactly what I needed. Thank you so very much

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

      Oh good, I am so glad it helped you!

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

    Are you doing that from the server file to keep your env variables safe?
    An appwrite video would be cool too.

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

      Yes, you wouldn't want to expose your URI, and credentials for your PB server on the client. Then someone would just delete all your data and replace it with expletives. Simply because they could. It is sad, but true. Thank you for watching!

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

      Yes,appwrite is awesome , with a stable version and now on cloud platform !!!

  • @arjuns.3752
    @arjuns.3752 ปีที่แล้ว +1

    Life saviour frfr💯

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

      Glad to hear that. Share this with anyone else that would find it helpful so we can help as many as possible!

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

    Cool!

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

      Thank you. I think it is pretty cool as well. I am working on a video using OAuth2 next.

  • @abedalrawas2656
    @abedalrawas2656 9 หลายเดือนก่อน

    I really appreciate the video. thank you.

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

    Yo Ninja! Rookie here learning both PB and Svelte. Is it possible to do all this in a single page? Like having all the items in the collection displayed in a clickable table so you can touch to edit or delete each item? Thanks for your help!

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

      Yes, it most certainly is. That sounds really fun! You are going to love doing that with SvelteKit and PB, let me know if you hit any snags and I can help!

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

    Thank you for the video! this was useful 👍
    Is this DB considered to be realtime? (like firebase)
    Thanks!

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

      You can subscribe to realtime changes at both the collection and even record level yes.

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

    Thank you, great video. Why are you doing the connection to PocketBase and authentication in every file, wouldn't it be better to just do it once like when the app is initialzed?

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

      Because I said I was writing each one as a stand alone data operation. But yes, you can even fire one up inside of a handle hook and pass it to your pages through locals. Just keep in mind that is only available if you run a load function for that page (the short explanation). I will show something of this nature when I do the auth portion.

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

      @@ConsultingNinja Got you, thanks 👍

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

      @@ConsultingNinja I tried the load function but couldn’t workout why it didn’t work, I had to put an instance on the client side.

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

      Check the repository for clues as to what was missed. Otherwise send me the code (email) and I can take a look if you want :)

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

    Cool!!!

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

      Yo Ahmed! Hope you liked this one. Guess what is coming next? Going to do OAuth2 using Google! Coming VERY soon!!!

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

      Wow, 😍 I can't wait !!!

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

      It will be out soon! It is VERY cool stuff!

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

    Super! Thank you

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

      You are VERY welcome! Thank you for watching!

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

    I presume PB is self-host, but do we have any hosting platform as of yet, in case one is not ready to spin up a server or docker sort of.

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

      Yes, you can deploy PB to Fly.io and I will do a video on this soon! So stay tuned it is in the works right now. If you want to tackle that before I get to it here is the documentation: github.com/pocketbase/pocketbase/discussions/537
      I will probably have that one out the week of the 4th or after. I have some more auth videos I want to do since that is a really important topic I am going to do at least one more showing how to implement Google sign in with React and Express. Thanks for watching!

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

      @@ConsultingNinja great 👍🏿. Thanks

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

    Any relational type content coming? Im trying to use the expland paramter to get related fields but fails when you use it on the getFullList function.

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

      I will add that to my list

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

      @@ConsultingNinja came down to the restrictions per record m

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

      Glad you got it and aren't waiting on me. lol so many videos to tackle!

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

    Awesome! 👏🏼👏🏼👏🏼👏🏼

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

      Thank you! PB user auth and improving PB user security videos coming up early this next week. So stay tuned!

  • @ryanlog
    @ryanlog 9 หลายเดือนก่อน

    timestamps please

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

    If only it had caching and rate limiting... I can't use it this way.

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

      They are only at v0.153 (with 0.16 coming soon) I am sure they will add those before 1.0. I am considering writing a rate limiting middleware for use with SvelteKit, but haven't decided yet.

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

    great video although that intro nearly made me click off

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

      What about the intro did you not like? Was it just the overall length? I have had requests to do an overview of what the video will be about so I have tried to add that to the intro. If you can give me specifics it will help the videos. Thank you!

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

      @@ConsultingNinja terribly edited, terrible quality, cliche music which makes me think of 2010s minecraft tutorials

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

      Thanks for the feedback