Consulting Ninja
Consulting Ninja
  • 117
  • 278 105
LLM Training Data Creator With SvelteKit, Fly.io, Tigris and Openai
This is another great app that you gotta check out. This video shows a dashboard app for creating language model training data for either training or fine tuning a language model. I show how I set up the creation of trainings using gpt 3.5 and the extra messages (aka shortcut fine tune) to achieve great results without having to fully train your own model. I also show how to save the trainings into a storage bucket from Tigris so that you can access them when needing to train your model! Definitely want to check this one out! I hope you find this helpful!
Fly.io + Tigris CRUD app Video:
th-cam.com/video/Atqp8jaxWwM/w-d-xo.html
Fly.io Overview Video:
th-cam.com/video/HGKO4FC_C70/w-d-xo.html
Source code for app:
github.com/consultingninja/llmTrainingCreator
Fly.io docs:
fly.io/docs/
Tigris docs:
www.tigrisdata.com/docs/
00:00 - Intro
01:35 - Setup
02:52 - App Magic
08:37 - Examples/ Saved Trainings Pages
10:17 - Outro
มุมมอง: 384

วีดีโอ

Fly.io and Tigris Object Storage CRUD APP
มุมมอง 4048 หลายเดือนก่อน
This was so much fun and can't wait to release the next video in this mini series! In this video I show a CRUD example application that I put together to showcase using a Tigris storage bucket instead of a traditional database. I show the setup (which is minimal) and also each data operation route. Definitely check out Fly.io and Tigris if you haven't heard of them! I hope you find this helpful...
OAuth2 JWT Tokens: How to Open Tokens / What is inside
มุมมอง 1.9K10 หลายเดือนก่อน
"🚀 Dive into the world of Google OAuth2 Tokens with my latest video! Join me as I break down opening OAuth2, explore JSON Web Token format. 🔐 Security is cool, and we've got the best practices to prove it! 🚨 Stay tuned for a hands-on walkthrough, code examples, and a dive into the Google OAuth2 tokens. Embrace the future of web development with OAuth2. 🌟 Ready to become a coding maestro? Hit p...
Astro (overview): The Next-Generation Web Framework for Modern Developers
มุมมอง 1.1K11 หลายเดือนก่อน
Tired of slow-loading web apps and bloated frameworks? Astro is the revolutionary web framework that's changing the way we build websites. In this video, you'll learn how Astro's unique approach to JavaScript and components can help you create blazing-fast, modular, and future-proof web experiences.
Best Web Frameworks of 2023
มุมมอง 1.5K11 หลายเดือนก่อน
🚀 Dive into the future of web development with my guide to the Best Web Frameworks of 2023! 🌐💡 Whether you're a coding pro or just starting, join me on a journey through the coolest, fastest, and most user-friendly frameworks that are redefining the digital landscape. From sleek front-end magic to robust back-end powerhouses, I've got the tools you need to level up your coding game. 🚨 Don't mis...
POSTGRES CRUD with Vercel / SvelteKit , basic data operations with Vercels new serverless db!
มุมมอง 1.6Kปีที่แล้ว
Vercel just added serverless Postgres SQL to their platform. This video I make a Postgres CRUD app with SvelteKit and Vercel! I focus on the interactions with postgres. There is one route for data operation. I had fun building this and I hope you find it helpful. Check it out and have fun! My channel membership is live check it out here!: th-cam.com/channels/wPrPv9eS7Xgfp_wi7uxt0g.htmljoin Verc...
Why you should use AI during development
มุมมอง 202ปีที่แล้ว
This was fun to put together! This a brief overview of some pros of using AI in your development. I was a reluctant adopter of AI in my development initially, but after testing out co-pilot, I purchased a license and will continue to test and adopt AI tools in my workflow. I hope you like this one! My channel membership is live check it out here!: th-cam.com/channels/wPrPv9eS7Xgfp_wi7uxt0g.html...
Do you know these things about Javascript DataTypes?
มุมมอง 231ปีที่แล้ว
This was fun to put together! You can never go over Javascript data type information enough. This a brief overview of some pros and cons of each data type. I hope you like this one! My channel membership is live check it out here!: th-cam.com/channels/wPrPv9eS7Xgfp_wi7uxt0g.htmljoin Need help? visit www.consultingninja.tech Check out my channel @ConsultingNinja for more videos like these.
First look at ISR with Vercel / SvelteKit
มุมมอง 951ปีที่แล้ว
Vercel just added major features to their SvelteKit deployments. In this video I setup a very simple app to use ISR and play around with and test it out. I hope you find this video helpful! My channel membership is live check it out here!: th-cam.com/channels/wPrPv9eS7Xgfp_wi7uxt0g.htmljoin Membership perk video: th-cam.com/video/FJgKifAThdU/w-d-xo.html Need help? visit www.consultingninja.tech...
The ChatGPT 4 API is live & other openAI changes you should know
มุมมอง 525ปีที่แล้ว
This is an update on the availability of the new chatGPT 4 API. I also talk about all the changes openAI has announced recently. Changes to their chat completions api, changes to models, deprecations and more. I hope you find this helpful. My channel membership is live check it out here!: th-cam.com/channels/wPrPv9eS7Xgfp_wi7uxt0g.htmljoin Membership perk video: th-cam.com/video/FJgKifAThdU/w-d...
PocketBase hooks overview!
มุมมอง 4.2Kปีที่แล้ว
This is part 7 of a series on PocketBase. I show what hooks look like for PocketBase, what they give you access to and how to implement them. This was really fun! I hope that you find this helpful! My channel membership is live check it out here!: th-cam.com/channels/wPrPv9eS7Xgfp_wi7uxt0g.htmljoin Membership perk video: th-cam.com/video/FJgKifAThdU/w-d-xo.html Need help? visit www.consultingni...
Vercel / SvelteKit updates that will make your life so easy
มุมมอง 2.6Kปีที่แล้ว
Vercel just added major features to their SvelteKit deployments. These are seriously incredible. I am so excited to start building these into my apps. Check them out and have fun! My channel membership is live check it out here!: th-cam.com/channels/wPrPv9eS7Xgfp_wi7uxt0g.htmljoin Membership perk video: th-cam.com/video/FJgKifAThdU/w-d-xo.html Need help? visit www.consultingninja.tech Check out...
User Authentication with Pocketbase and SvelteKit | Full Auth Solution
มุมมอง 4.1Kปีที่แล้ว
This is part 6 in the PocketBase series. In this video I show how to implement user authentication using PocketBase and SvelteKit. This is a full authentication solution. I first show how to register a user. Then we setup our hooks.server file to keep our authentication up to date and send user information to all our routes through locals using ( PocketBases built in methods exportToCookie, loa...
Add these lines to your SvelteKit Pocketbase app today! | Increase security!
มุมมอง 1.6Kปีที่แล้ว
This is part 5 in the PocketBase series. In this video I show how to increase the security of your SvelteKit / Pocketbase app by using a one way hash. I show the plain text password being sent by the pocketbase sdk and then I show you how to use a one way hash to hide the password from bad actors. This was yet another really cool one! I hope that you find this helpful! Be sure you add the same ...
I launched a chatbot with my channel membership! | Memberships how to
มุมมอง 109ปีที่แล้ว
I launched a chatbot with my channel membership! | Memberships how to
Svelte 4 is here | why you should update it now!
มุมมอง 2.3Kปีที่แล้ว
Svelte 4 is here | why you should update it now!
Improve the UX AND DX of your SvelteKit forms SUPER EASY!
มุมมอง 1.5Kปีที่แล้ว
Improve the UX AND DX of your SvelteKit forms SUPER EASY!
My channel was monetized! Requirements and channel update
มุมมอง 193ปีที่แล้ว
My channel was monetized! Requirements and channel update
Login / Signup / SignIn with Google GSI | OAuth2.0
มุมมอง 3.2Kปีที่แล้ว
Login / Signup / SignIn with Google GSI | OAuth2.0
Realtime Data Subscriptions with PocketBase and SvelteKit!
มุมมอง 3.7Kปีที่แล้ว
Realtime Data Subscriptions with PocketBase and SvelteKit!
Stop using Hooks For Clients | Use $lib for Efficiency! | Best place for your Clients!
มุมมอง 846ปีที่แล้ว
Stop using Hooks For Clients | Use $lib for Efficiency! | Best place for your Clients!
Vite Security Alert | npm package check and update
มุมมอง 656ปีที่แล้ว
Vite Security Alert | npm package check and update
Login / Signup / SignIn with Google | OAuth2.0 | Using React and Express JS
มุมมอง 41Kปีที่แล้ว
Login / Signup / SignIn with Google | OAuth2.0 | Using React and Express JS
Sign Up / In with Google! | SvelteKit OAuth 2.0
มุมมอง 6Kปีที่แล้ว
Sign Up / In with Google! | SvelteKit OAuth 2.0
OAuth2 using Google, PocketBase, and SvelteKit
มุมมอง 8Kปีที่แล้ว
OAuth2 using Google, PocketBase, and SvelteKit
Create a CRUD App with PocketBase and SvelteKit!
มุมมอง 11Kปีที่แล้ว
Create a CRUD App with PocketBase and SvelteKit!
PocketBase | what it is | how to run it | dashboard overview & mini project!
มุมมอง 13Kปีที่แล้ว
PocketBase | what it is | how to run it | dashboard overview & mini project!
Create a Wizard Component! | Multiple Step Form in Svelte | SvelteKit
มุมมอง 2.6Kปีที่แล้ว
Create a Wizard Component! | Multiple Step Form in Svelte | SvelteKit
Deploying an App to Fly.io | SvelteKit example app Dockerize and launch!
มุมมอง 15Kปีที่แล้ว
Deploying an App to Fly.io | SvelteKit example app Dockerize and launch!
Why you shouldn't save files to your DB and what to do instead!
มุมมอง 1.6Kปีที่แล้ว
Why you shouldn't save files to your DB and what to do instead!

ความคิดเห็น

  • @mohaklondhe3020
    @mohaklondhe3020 9 วันที่ผ่านมา

    Popup never comes unless i use useGoogleLogin

  • @mohaklondhe3020
    @mohaklondhe3020 9 วันที่ผ่านมา

    Alligator Brackets

  • @jake221
    @jake221 16 วันที่ผ่านมา

    Will this series ever be finished?

  • @JonathanDanielGomez-e1e
    @JonathanDanielGomez-e1e หลายเดือนก่อน

    I have a problem, in the backend once I get the access token how do I return it to the front (since the request to the back is made by "google" so that the back exchanges the code for the tokens, I have no way to "send" the access token to the front before doing the redirection with: res. redirect (303, "localhost:5173/");) so that later the front in each request that it makes to the back includes the access token that the back previously set

  • @JonathanDanielGomez-e1e
    @JonathanDanielGomez-e1e หลายเดือนก่อน

    I have a problem, in the backend once I get the access token how do I return it to the front (since the request to the back is made by "google" so that the back exchanges the code for the tokens, I have no way to "send" the access token to the front before doing the redirection with: res. redirect (303, "localhost:5173/");) so that later the front in each request that it makes to the back includes the access token that the back previously set

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

    More svelte thx

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

    I like your video. It was informative to see how you implemented the solution. Have you considered implementing this without JavaScript? I found that using the svelte fail function from the server actions basically allows me to redirect form data back to a form from the server with additional data. For example, the form starts with one team, but when the user clicks to add a team, the form is submitted with a query of team count +1. The server sees the team count, then returns fail(409, …formData, team count: 2)… on the form, you just have an each block for teams to loop over the number of team forms. It basically adds the additional team for, and will gracefully fail if JS is not enabled. You just include use:enhance on the form. I have found it to be a good way to maintain server-side validations and form responsiveness on multipart forms. On item id’s, just use the each index to differentiate input groups.

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

    The video was very helpful. I have noticed that you used express but seems like you have used a boilerplate that already had cors and other staff setup for you already, if soo can you please the name of it soo that i also look into it?

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

    How can Google access the 'localhost' domain on your computer?

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

    That was a good video, thanks!

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

    It was a great tutorial thanks

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

    cool vid, but slugs are molluscs

  • @nuvotion-live
    @nuvotion-live 2 หลายเดือนก่อน

    Wow so easy. Thanks

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

    Thanks man! You gave me hope for tomorrow, to fix OAuth2 flow in my project :)

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

    why wouldn't we need the csrf verification when we go the js callback route that give us the credentials? How is the csrf taken care of then?

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

    I have a WARM "WARN DNS checks failed" :(

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

    Hi! Just in case you read this, can you help me? I added a catch (error) to the +page.server.ts of the login page, and whenever I try logging in, I get that error message. Not really sure what's going wrong. Link to repo: github.com/jay-marvel/website

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

    its actually not clean coded in my opinion

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

    Update : In getUserData function in the url add "=" after access_token Eg: /userinfo?access_token=${access_token} Don't know if anyone else faceed this problem, but in my case i required this modification.

  • @shainemamigo7133
    @shainemamigo7133 4 หลายเดือนก่อน

    Thank you so much

  • @abdiastar6451
    @abdiastar6451 4 หลายเดือนก่อน

    why is it borderline impossible to send the token in a cookie to the frontend? im so close to breaking my laptop rn

    • @rezhabahari
      @rezhabahari 4 หลายเดือนก่อน

      on the video min 5.25 , you cant set cookie on a cross origin basis. ive once tried, and it worked, but it is buggy and requires a bit of tinkering on the backend side

    • @abdiastar6451
      @abdiastar6451 4 หลายเดือนก่อน

      @@rezhabahari what exactly did you do to fix it? can you walk me through it?

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

      @@abdiastar6451 app.set("trust proxy", 1); Mind you, It was buggy

  • @threalinsideout1368
    @threalinsideout1368 4 หลายเดือนก่อน

    Does this apply to sveltekit 5, and as well. How do you save it and maintain the same operation after "build" especially when its on a server like vercel.

  • @zuzukouzina-original
    @zuzukouzina-original 4 หลายเดือนก่อน

    Sveltekit should run in a protected environment with ssl and the connection with pocketbase also with ssl, pocketbase already does the job for hashing the password. So this is adding unnecessary complexity. Nowadays you can’t run websites without ssl 🤷🏻‍♂️

  • @jinamsancheti2212
    @jinamsancheti2212 4 หลายเดือนก่อน

    How can i fetch users data after they have logged in, in my react app?

  • @DenysBabych
    @DenysBabych 4 หลายเดือนก่อน

    great video, but how i can send a json response with the user on front end if i'm redirecting in oauth get route?

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

    The reloads all 200 records each time a single record is added..

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

    Can you please comment on the security of this approach. Is this setup not vulnerable for CSFR?

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

    i watched the previous oauth google + sveltekit tutorial and now this one. thanks, but you kind of skipped over where you got the JWT key and installing jsonwebtoken.

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

    Email verification is incomplete without FilterBounce. Their API for contact form verification is a lifesaver. Trust me, you would not be disappointed with the accuracy!

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

    I was blown away by the accuracy of FilterBounce compared to other email verification tools. My email marketing efforts have been elevated since using FilterBounce. Try it out now!

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

    Stop wasting leads with unreliable email verification tools. FilterBounce is the real deal - accurate, affordable, and easy to use. Give it a try and see the difference!

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

    I used to struggle with inaccurate email verification tools until I discovered FilterBounce. Now my bounce rate is under 1% and my email reputation is pristine. cannot recommend it enough!

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

    Started with FilterBounce is free plan and was amazed by the accuracy and efficiency. Now I use their API for all my contact form verifications. FilterBounce is truly a cut above the rest!

  • @Edgar-pu1lc
    @Edgar-pu1lc 5 หลายเดือนก่อน

    What about github oauth ? Can you make a video about that one ?

  • @RitikRaj-we2sc
    @RitikRaj-we2sc 5 หลายเดือนก่อน

    Hey I have implemented google auth using passportjs. Now, locally it's working fine, but after I deployed it to vercel, then ven though consent screen is shown, I am not getting back the cookie, and therefore use is not getting authenticated. Please tell me what could I be doing wrong. I am stuck on this for more than two days.

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

      If you are hosting client and server with different domains, the cookies won't work as you can't exchange cookies cross domain. I am having the same problem.

    • @RitikRaj-we2sc
      @RitikRaj-we2sc 5 หลายเดือนก่อน

      @@ismaelpaul367 hey I got the solution. You just need to add this line to your code to make it work. app.enable("trust proxy")

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

    I prefer svelte-routing. SvelteKit doesn't make sense

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

    What cookie library did you use? I tried with cookie-parser but they were never sent to my client side :( I don't know why

    • @abdiastar6451
      @abdiastar6451 4 หลายเดือนก่อน

      im having the same issue, cookies are not getting sent to my frontend either

    • @laurafalcon5741
      @laurafalcon5741 4 หลายเดือนก่อน

      @@abdiastar6451 I didn't resolve my problem at that time, but I researched it, and the frontend and backend must be hosted on the same domain. Sorry for my English.

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

    I can totally agree, google's documentation is the worst!

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

    i got those info , but since im in a redirect url , how am i suppose to set cookie inside browser , i got stuck there , i cannot send those info or token in front , i saved it in data base , but again i don't have a unique identifier to find that user , i just stuck with those info in redirect url , two days and i haven't find a solution ,

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

      send your github url

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

    Not Svelte! Is Sveltkit !

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

    Camelcase for variables, lowercase for form values, but that's just me. Almost a year old and this is still the best SvelteKit JWT tut on youtube, along with the Authentication video. Just stopping by for a refresher. Thanks!

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

    Thank you for the insightful video. I have a query regarding the implementation of complete authentication, this is for both sign-in and sign-up functionalities. What steps should I take after this? Should I opt for JWT implementation, utilize sessions, or consider other options?

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

    why when i logout and login again and it get 500 error code? tysm

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

    Thanks for the video. Once the authentication is successful, google redirects the flow back to the application with the 'signin-google' route.But im getting 500 Internal Server error and the request fails every time.

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

    hey i did the google login just like you explained and i am getting the most part except for the users actual data in the final reaponse in the oauth.js file do you have any idea about why that is happening this is the data object i recieved to my /oauth route data: { error: 'invalid_request', error_description: 'Invalid Credentials' } if anyone knows the solution please help

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

      i also did not get a refresh token as well

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

      Check your email

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

    Love this! Awesome tutorial and easy for dummies like me. :) The only thing I wanted to point out is, that I do not believe/I am unsure if the video explains how to redirect the user back to the original page after the completion of oauth. I got stuck in a "forever loop" after the ouath until I added res.redirect(303, 'localhost:5173/'); at the end of the oauth/ end point. I managed to find the solution by looking at the source code you provided. If it's missing from the video, are you able to add a note? Or am I just blind? Otherwise, thank you!!!!!!!!!1

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

    It works on localhost, but fails in live site, i have added live site link also live site backend route to credentials, i am getting invalid_grant error when i try from live site after the user selects the account

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

      This is most likely because there are pretty tight restrictions to using this in "testing" mode You have to publish your app in order to use in hosted domains. Go to my website : www.consultingninja.tech/ and use the contact form to send me a message with your email. I will send some screenshots to guide you. Sorry for the delay I didn't see this.

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

    how to do it with cropping image and send the crop image to form action? :)

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

    if you store it in cookie then you need csrf token to prevent unwanted request, am i right ?

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

    Would the “/“ path be protected under this user login or would one have to use a page.server.ts or a hooks.server.ts to check if the user is 1. Not using a stale session or 2. Directly trying to access the url by manually typing it