Netlify Serverless Functions with Netlify Dev

preview_player
Показать описание
It's never been easier to create Serverless Functions. With Netlify, you can create and deploy Serverless Functions in minutes! In this video, I'll show you how to run your Netlify Serverless Functions locally using the Netlify CLI and Netlify Dev command.

_____________________________________________

Newsletter 🗞
Interested in exclusive content and discounts? 🤯 Sign up for the newsletter!
_____________________________________________

Connect with me 😀
_____________________________________________

COURSES 💻
Рекомендации по теме
Комментарии
Автор

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

TomHermans
Автор

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

MaxProgramming
Автор

I just want to thank you from the future (2025) where i am doing aws cloud native stuff to create hobby projects whereas i exactly gotta to do it as easy as netlify designed it for us... Maybe the only benefit to stick on aws+terraform+gitlab ci cd in my case is to accelerate my know-how to feel expert at my work but back to my own projects the way to be fast and cool is just like this platform offerring! Thank

lifemix
Автор

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

xxnh
Автор

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!

PilotGT
Автор

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!

iiaaannnn
Автор

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.

jcsmiley
Автор

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!

Rumenix
Автор

Aaye letsgo
Wow you in the teacher section sheesh❤️

mumbaikachallenge
Автор

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.

pickavana
Автор

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?

thales-maciel
Автор

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?

sonyaninja
Автор

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

bobziroll
Автор

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

raiyansarker
Автор

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

nested
Автор

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?

dineshmangal
Автор

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

Viralplace
Автор

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

parrot
Автор

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

SebastianPerezG
Автор

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

MaxProgramming
welcome to shbcf.ru