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!
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!
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
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?
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.
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?
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 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
Make sure to grab the free Netlify cheat sheet! learn.jamesqquick.com/netlify-serverless-functions-cheat-sheet
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?
It's it really free if I have to give you my email address? 🤔
revisited this video while working on a few functions. Now even more thankful it exists.
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!
Netlify is so amazing! You’re definitely going to enjoy using netlify dev. It’s great!
I watch it again and again now.
A year ago I didn't understand Netlify functions (I commented too😅) but now I love them!
Thank you so much James for taking the time to make these awesome videos
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.
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!
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!
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
Hahaha hey there :)
Aaye letsgo
Wow you in the teacher section sheesh❤️
Useful tutorial. Thank you! Somehow redirections didn't work in my app I was always getting 404 error
redirect using toml file is not working on my project, did the same of what you did!
Subbed, you're a lifesaver
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?
It’s protected by cors in the browser but mainly you need to add some sort of authentication. You could use Auth0 :)
I actually don't understand what and why are Netlify functions. Hopefully I will understand them after this video. 💙
If you still have questions let me know. This video isn’t the best overall explanation of serverless functions as a whole
@@JamesQQuick Sure! Maybe on Discord. Thanks!
@@MaxProgramming See you there :)
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.
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?
what is the diffrence between supabase edge function and netlify functions?
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?
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
Which platform is better Firebase functions or Netlify functions? In terms of Productivity and popularity.
I personally prefer netlify functions. I’ve not used fire base functions
What about popularity ?
@@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
Thanks man!
From what I've heard it seems they're most popular on AWS. I believe thats the origin of lambda.
Damn this is good.
Hi could you also please create a tutorial on jwt authentication or is there any?
Check traversy media
What the name of the start page that you have in chrome ?
It's a chrome extension called daily.dev :)
What this back end stuff I don’t want to know all this
Its not free anymore... ): lame.