Deploying a backend on Vercel (APIs and Functions)

  Рет қаралды 45,347

Vercel

Vercel

Күн бұрын

Learn how to deploy a backend to Vercel, like a REST API, through Vercel Functions. These backend APIs can then connect to your database or third-party services.
0:00 - Introduction
0:31 - Deploying a Node.js function
2:00 - Express
2:46 - Storage and logs
3:30 - Templates
3:57 - Conclusion
◆ Templates: vercel.com/templates
◆ Docs: vercel.com/docs
#vercel

Пікірлер: 78
@cnikolov
@cnikolov 4 ай бұрын
Lee you are landing really nicely with these videos, I think the missing piece now is exploring the possibilities with edge
@yaelgonzalez6114
@yaelgonzalez6114 3 ай бұрын
Deploying to Vercel looks amazing.
@jjrise
@jjrise 4 ай бұрын
would love to see some Hono examples! I have a Hono API currently deployed to Render, but all my other apps are on Vercel, so it would be extremely nice to consolidate that all to one place.
@LS-in1xn
@LS-in1xn 8 күн бұрын
man, i love vercel so much. it's sooooo awesome.
@user-go5eu2jj3m
@user-go5eu2jj3m 3 ай бұрын
Dang that was some legit backend action right there.
@tejusr5525
@tejusr5525 4 ай бұрын
would love to see an in-depth video ✌👍
@stonekingproductions
@stonekingproductions 3 ай бұрын
I would like to see a more in depth video here. In order to use the api/ folder do you need to install Next.js?
@KulturanCov
@KulturanCov 11 күн бұрын
More in-depth videos, please!
@arkoose
@arkoose 3 ай бұрын
Nice one!, You explain it very good.
@TadeoGonzalez-oq4ym
@TadeoGonzalez-oq4ym 3 ай бұрын
Thanks Vercerl you da real MVP
@anayeliriverasalgado8062
@anayeliriverasalgado8062 3 ай бұрын
Finally a simple way to deploy APIs.
@miguelemmara5046
@miguelemmara5046 4 ай бұрын
is there a way to make it faster? less than 30ms per request?
@shivanshpatel4072
@shivanshpatel4072 4 ай бұрын
Does this work for Nestjs as well ?
@raihan8097
@raihan8097 4 ай бұрын
Can i host strapi too?
@dev_franqqi
@dev_franqqi 4 ай бұрын
Love this channel
@leerob
@leerob 4 ай бұрын
Let me know what else you'd like to see!
@JosueHernandez-qj4ty
@JosueHernandez-qj4ty 3 ай бұрын
I second that, great video!
@mzafarr
@mzafarr 4 ай бұрын
Can we deploy Nest.js on vercel?
@EvHaus
@EvHaus 4 ай бұрын
I would love to be able to deploy a Docker container. Is Vercel planning on supporting that?
@thecoderabbi
@thecoderabbi 4 ай бұрын
I second this
@BhideSvelte
@BhideSvelte 4 ай бұрын
now can we host pocketbase on vercel ?
@BlackishGreen
@BlackishGreen 3 ай бұрын
can i deploy a discord.js backend app based on websocket too?
@IvanRandomDude
@IvanRandomDude 4 ай бұрын
Does anyone know how this compares to Cloudflare Workers in terms of performance, latency, pricing etc?
@cayt3r
@cayt3r 4 ай бұрын
It's always hard to compete with Cloudflare on the pricing front. They own the network which can reduce the egress fee significantly. Vercel is mostly wrapping around the providers like AWS, Cloudflare to provide better DX. In any case, if you are using Vercel, you should think of it as outsourcing your DevOps/Platform team to them to provide a modernised DX that builds on top of serverless technology. It's essentially a DevOps or Platform Engineering as a service, and the price definitely will be higher than Cloudflare, it's still business profit in the picture despite the DX improvement.
@0xtz_
@0xtz_ 4 ай бұрын
I can't change the run command ? bc I have a project with front and server and I need to run the vite and then node ./server/index.js
@nikitaistomin3588
@nikitaistomin3588 3 ай бұрын
Have you tried using "concurrently" pkg?
@0xtz_
@0xtz_ 3 ай бұрын
@@nikitaistomin3588 yes but didn't work well hhhhh or 8 did something wrong
@aldrickdev
@aldrickdev 4 ай бұрын
Wil this eventually work for other languages, or is this going to stay as a tool for Javascript developers?
@VercelHQ
@VercelHQ 4 ай бұрын
We support Python and Go as well.
@jonathangamble
@jonathangamble 4 ай бұрын
Please fix vercel/og outside of nextjs!
@mettle_x
@mettle_x 4 ай бұрын
I found Vercel serverless functions very flaky. It started receiving empty JSON body from Discord webhook interactions suddenly without prior notice or any code change from my end. The fault might not be from the Discord side since I just switched to a VPS and it worked fine there.
@aberba
@aberba 4 ай бұрын
Do you build with babel?
@sleekism
@sleekism 4 ай бұрын
Deploying to a lot of modern clouds have this issue. Stuff just stops working without any stimulus
@mettle_x
@mettle_x 4 ай бұрын
@@aberba No, I use the default TypeScript setup from Next.js
@jellyfish1772
@jellyfish1772 4 ай бұрын
Please make on showing detailed info on how to deploy a NESTjs backend❤
@Varkoff
@Varkoff 4 ай бұрын
yeah i'd need this as well ! Deploying a complete API server (not serverless) on Vercel would be awesome
@akshayhere
@akshayhere 4 ай бұрын
Is it even possible? As they said, on Pro subscription, they limit long running services to 5 minutes.
@nicov99
@nicov99 4 ай бұрын
does it work with a .NET api?
@gappalchemist
@gappalchemist 4 ай бұрын
Lee Rob the Goat 👌
@anuragdhote8902
@anuragdhote8902 4 ай бұрын
does this work for Web Sockets as well?
@ujjawal_
@ujjawal_ 4 ай бұрын
no, I deployed my backend which is in express and socket io on vercel it was not working. After searching got to know it's not supported on vercel. So I looked for other alternatives.
@ColdestElite_Vibe
@ColdestElite_Vibe 4 ай бұрын
thanks
@codemedic
@codemedic 15 күн бұрын
Pls make a more descriptive step-by-step tutorial 🙏🙏
@mystickago
@mystickago 4 ай бұрын
yes more the better, your explainations are S tair
@ignacioaristegui5197
@ignacioaristegui5197 3 ай бұрын
Would love to see how to deploy a backend with Django.
@fire17102
@fire17102 4 ай бұрын
Hey guys, how come Python is not a Vercel Framework? Don't get it... Why can't you run my flask?
@dmarksbarber
@dmarksbarber 4 ай бұрын
I tried deploying Hono TypeScript with path aliases. Ran into issues. Tech support reached out to engineering but they never got back. Happy to share the ticket number.
@leerob
@leerob 4 ай бұрын
Thank you, yeah would love to dig in and also get a better Hono example up!
@b_two
@b_two 4 ай бұрын
can we run deno on vercel?
@VercelHQ
@VercelHQ 4 ай бұрын
github.com/vercel-community/deno
@HardikAjani
@HardikAjani 4 ай бұрын
Lovely
@ekchills6948
@ekchills6948 4 ай бұрын
please we need detailed info
@geralddd.g
@geralddd.g 4 ай бұрын
Needed
@aldoyh
@aldoyh 4 ай бұрын
True.. all backend frameworks.. Except PHP!!
@twitchizle
@twitchizle 4 ай бұрын
they support php afaik
@aldoyh
@aldoyh 4 ай бұрын
@@twitchizle I've reached their support and they replied that's possible if you convert them to JS using some tool! Oh C'mon!
@twitchizle
@twitchizle 4 ай бұрын
@@aldoyh there should be php runtime support related text in the docs. Im 100% sure i saw it.
@aldoyh
@aldoyh 4 ай бұрын
Please dear@@twitchizle .. Amaze me.
@oeuvars
@oeuvars 4 ай бұрын
please show us a guide on how to deploy express with typescript on vercel
@neociber24
@neociber24 4 ай бұрын
Keep in mind Vercel is for serverless
@leerob
@leerob 4 ай бұрын
Love this suggestion, can do.
@oeuvars
@oeuvars 4 ай бұрын
@@leerob Thank you!
@fire17102
@fire17102 4 ай бұрын
​@@oeuvars hey yo, hope it's ok to ask, what's the meaning of the symbol in your pic? Thx and all the best
@oeuvars
@oeuvars 4 ай бұрын
@@fire17102 Hindu swastika, i understand the logic behind your question lol. And thank you.
@guillermobarboza5903
@guillermobarboza5903 4 ай бұрын
are this lambdas?
@lambertotamayo4320
@lambertotamayo4320 4 ай бұрын
Its like firebase function.
@loveboat
@loveboat 4 ай бұрын
Understood about 1% of this.
@nothorizonhere
@nothorizonhere 4 ай бұрын
Make it so you get unlimited bandwith with pro plan
@george_davituri
@george_davituri 4 ай бұрын
🤟🏻🏂
@cnikolov
@cnikolov 4 ай бұрын
The easiest way to turn your apis to lambdas
@simonmbewe6324
@simonmbewe6324 2 ай бұрын
time westing .next time just go direct to a point
@aralroca
@aralroca 4 ай бұрын
Would love to see some Bun.js examples! 😊
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 175 М.
Environments on Vercel
11:34
Vercel
Рет қаралды 8 М.
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 50 МЛН
Be kind🤝
00:22
ISSEI / いっせい
Рет қаралды 18 МЛН
Heroku Is Dead, Here's What I Recommend
11:59
Theo - t3․gg
Рет қаралды 244 М.
Is "edge" computing really faster?
8:14
Fireship
Рет қаралды 556 М.
Node.js runs on Turborepo now
8:08
Anthony Shew
Рет қаралды 3,1 М.
Hands on with the Vercel AI SDK 3.1
13:04
Vercel
Рет қаралды 22 М.
Next.js Explained: Partial Prerendering (What? Why? How?)
11:03
Why People Aren't Deploying to Vercel Anymore
5:55
Josh tried coding
Рет қаралды 143 М.
My Tech Stack I've Used To Build 10+ Apps Over 2+ Years
8:35
Your Average Tech Bro
Рет қаралды 53 М.
Trying to attack the Vercel Firewall
13:09
Vercel
Рет қаралды 12 М.
How Vercel builds Vercel
15:15
Vercel
Рет қаралды 67 М.
3.5.A Solar Mobile 📱 Charger
0:39
Gaming zone
Рет қаралды 315 М.
Как я сделал домашний кинотеатр
0:41
RICARDO
Рет қаралды 1,5 МЛН
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,4 МЛН
POCO F6 PRO - ЛУЧШИЙ POCO НА ДАННЫЙ МОМЕНТ!
18:51