Netlify Serverless Functions with Netlify Dev

Поділитися
Вставка
  • Опубліковано 27 жов 2024

КОМЕНТАРІ • 44

  • @JamesQQuick
    @JamesQQuick  4 роки тому +5

    Make sure to grab the free Netlify cheat sheet! learn.jamesqquick.com/netlify-serverless-functions-cheat-sheet

    • @malikbrahimi7504
      @malikbrahimi7504 4 роки тому

      So is Netlify an actual cloud provider? It seems like they just run on top of AWS, Google, etc. in which case are they just retailing cloud services?

    • @BernhardHofmann
      @BernhardHofmann 2 роки тому +2

      It's it really free if I have to give you my email address? 🤔

  • @TomHermans
    @TomHermans 3 роки тому +1

    revisited this video while working on a few functions. Now even more thankful it exists.

  • @Rumenix
    @Rumenix 4 роки тому +3

    I use Netlify for hosting and have kind of dabbled with Netlify functions. They work amazingly well and seamlessly with Next.js API routes which was a very pleasant surprise! Never used Netlify dev before, though. Sounds like a super useful tool for testing things like Forms without having to deploy first!

    • @JamesQQuick
      @JamesQQuick  4 роки тому +1

      Netlify is so amazing! You’re definitely going to enjoy using netlify dev. It’s great!

  • @MaxProgramming
    @MaxProgramming 3 роки тому

    I watch it again and again now.
    A year ago I didn't understand Netlify functions (I commented too😅) but now I love them!

  • @x1x1nh0
    @x1x1nh0 3 роки тому +2

    Thank you so much James for taking the time to make these awesome videos

  • @jcsmiley9756
    @jcsmiley9756 4 роки тому +1

    I have not use Netlify Dev but is very interested in that process. I use Netlify for hosting and serverless functions and I love them.

  • @PilotGT
    @PilotGT 2 роки тому +1

    Great video! Thanks for posting! What is the link to the “Build a JAMstack Course Tracker” that you mentioned in the video? Thanks in advance!

  • @iiaaannnn
    @iiaaannnn 3 роки тому

    I migrated my website from Netlify to Firebase. I heard Netlify(AWS) functions have less startup time. So I'm migrating my website from Firebase to Netlify. Lol. Great video!

  • @bobziroll
    @bobziroll 4 роки тому

    Lol, this video is surreal. Not only are you connecting to Airtable, which is exactly what I'm needing to do with my Netlify functions setup, but you mention me by name as a course creator on Scrimba :P

  • @mumbaikachallenge5526
    @mumbaikachallenge5526 2 роки тому

    Aaye letsgo
    Wow you in the teacher section sheesh❤️

  • @parrot785
    @parrot785 3 роки тому +1

    Useful tutorial. Thank you! Somehow redirections didn't work in my app I was always getting 404 error

  • @raiyansarker1698
    @raiyansarker1698 3 роки тому +2

    redirect using toml file is not working on my project, did the same of what you did!

  • @blidosawr
    @blidosawr 3 роки тому

    Subbed, you're a lifesaver

  • @thales-maciel
    @thales-maciel 4 роки тому +3

    I've seen some videos where people could access the function from anywhere, like using postman/insomnia or making a get request in the browser. How to protect this functions?

    • @JamesQQuick
      @JamesQQuick  4 роки тому +2

      It’s protected by cors in the browser but mainly you need to add some sort of authentication. You could use Auth0 :)

  • @MaxProgramming
    @MaxProgramming 4 роки тому +1

    I actually don't understand what and why are Netlify functions. Hopefully I will understand them after this video. 💙

    • @JamesQQuick
      @JamesQQuick  4 роки тому +1

      If you still have questions let me know. This video isn’t the best overall explanation of serverless functions as a whole

    • @MaxProgramming
      @MaxProgramming 4 роки тому

      @@JamesQQuick Sure! Maybe on Discord. Thanks!

    • @JamesQQuick
      @JamesQQuick  4 роки тому +1

      @@MaxProgramming See you there :)

  • @pickavana8056
    @pickavana8056 Рік тому

    Do you know if this works with svelte/vite (not sveltekit)? When I run netlify dev it hangs if I try to use "Svelte: npm run dev" or "Svelte: npm run build" waiting for framework port 5173 even though I have [dev] targetPort=5173 in netlify.toml. It 'works' if I use any of the vite options but then its not running the serverless function.

  • @sonyaninja66
    @sonyaninja66 3 роки тому

    Thanks so much James! I've spent the past three days trying every tutorial + reading every article to try and understand what exactly Netlify does. Watching this video = lightOn. I'm trying to use Netlify with Sveltekit - I know it's not yet officially released, but perhaps I can get a basic ui developed and hopefully by the time I'm done Sveltekit's 'back-of-the-front-end' stuff will be useable. The [netlify dev] command does not seem to be working with Sveltekit yet, so it seems I can only test the deployed preview?? Do you have any advice?

  • @nested9301
    @nested9301 Рік тому

    what is the diffrence between supabase edge function and netlify functions?

  • @dineshmangal6429
    @dineshmangal6429 3 роки тому

    Hello, Can I just deploy package.json file on netlify and run the commands "NPM INSTALL, NPM RUN BUILD" there on netlify...is it possible?

  • @Viralplace
    @Viralplace 3 роки тому

    if I have a simple project that doesn't use compiler like webpack or parcel, how can I use de .env? dotenv doesn't work on the browser but just with node (backend) and not in jam stack or serverless project... I would hide private key on production by function of netlify

  • @MrFawads
    @MrFawads 3 роки тому

    Which platform is better Firebase functions or Netlify functions? In terms of Productivity and popularity.

    • @JamesQQuick
      @JamesQQuick  3 роки тому

      I personally prefer netlify functions. I’ve not used fire base functions

    • @MrFawads
      @MrFawads 3 роки тому

      What about popularity ?

    • @JamesQQuick
      @JamesQQuick  3 роки тому +1

      @@MrFawads I'm not exactly sure to be honest. I've personally never heard of anyone using functions in Firebase, but I've heard lots using Netlify. That's just my experience so take it with a grain of salt lol

    • @MrFawads
      @MrFawads 3 роки тому

      Thanks man!

    • @garrettcarder3144
      @garrettcarder3144 3 роки тому

      From what I've heard it seems they're most popular on AWS. I believe thats the origin of lambda.

  • @jasonlough6640
    @jasonlough6640 3 роки тому

    Damn this is good.

  • @bikashkatwal2461
    @bikashkatwal2461 3 роки тому

    Hi could you also please create a tutorial on jwt authentication or is there any?

  • @SebastianPerezG
    @SebastianPerezG 4 роки тому

    What the name of the start page that you have in chrome ?

    • @JamesQQuick
      @JamesQQuick  4 роки тому +1

      It's a chrome extension called daily.dev :)

  • @brianwyse5810
    @brianwyse5810 3 роки тому

    What this back end stuff I don’t want to know all this

  • @josephsardella8047
    @josephsardella8047 11 місяців тому

    Its not free anymore... ): lame.