Deploying a backend on Vercel (APIs and Functions)

  Рет қаралды 47,842

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

Пікірлер: 79
@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 4 ай бұрын
Deploying to Vercel looks amazing.
@lovekyordie15
@lovekyordie15 9 күн бұрын
I really hope Vercel keeps investing in hosting backends! Such an underrated use case. It is such an improvement to the considerably more manual options like managing all of the infrastructure and CI/CD on AWS directly.
@LS-in1xn
@LS-in1xn 20 күн бұрын
man, i love vercel so much. it's sooooo awesome.
@tejusr5525
@tejusr5525 4 ай бұрын
would love to see an in-depth video ✌👍
@arkoose
@arkoose 4 ай бұрын
Nice one!, You explain it very good.
@TadeoGonzalez-oq4ym
@TadeoGonzalez-oq4ym 4 ай бұрын
Thanks Vercerl you da real MVP
@user-go5eu2jj3m
@user-go5eu2jj3m 4 ай бұрын
Dang that was some legit backend action right there.
@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.
@dev_franqqi
@dev_franqqi 4 ай бұрын
Love this channel
@leerob
@leerob 4 ай бұрын
Let me know what else you'd like to see!
@anayeliriverasalgado8062
@anayeliriverasalgado8062 4 ай бұрын
Finally a simple way to deploy APIs.
@KulturanCov
@KulturanCov 23 күн бұрын
More in-depth videos, please!
@JosueHernandez-qj4ty
@JosueHernandez-qj4ty 4 ай бұрын
I second that, great 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?
@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
@miguelemmara5046
@miguelemmara5046 4 ай бұрын
is there a way to make it faster? less than 30ms per request?
@gappalchemist
@gappalchemist 4 ай бұрын
Lee Rob the Goat 👌
@shivanshpatel4072
@shivanshpatel4072 4 ай бұрын
Does this work for Nestjs as well ?
@raihan8097
@raihan8097 4 ай бұрын
Can i host strapi too?
@mzafarr
@mzafarr 4 ай бұрын
Can we deploy Nest.js on vercel?
@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.
@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.
@mystickago
@mystickago 4 ай бұрын
yes more the better, your explainations are S tair
@BlackishGreen
@BlackishGreen 4 ай бұрын
can i deploy a discord.js backend app based on websocket too?
@ignacioaristegui5197
@ignacioaristegui5197 4 ай бұрын
Would love to see how to deploy a backend with Django.
@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.
@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
@BhideSvelte
@BhideSvelte 4 ай бұрын
now can we host pocketbase on vercel ?
@codemedic
@codemedic 27 күн бұрын
Pls make a more descriptive step-by-step tutorial 🙏🙏
@jonathangamble
@jonathangamble 4 ай бұрын
Please fix vercel/og outside of nextjs!
@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 4 ай бұрын
Have you tried using "concurrently" pkg?
@0xtz_
@0xtz_ 4 ай бұрын
@@nikitaistomin3588 yes but didn't work well hhhhh or 8 did something wrong
@HardikAjani
@HardikAjani 4 ай бұрын
Lovely
@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
@nicov99
@nicov99 4 ай бұрын
does it work with a .NET api?
@geralddd.g
@geralddd.g 4 ай бұрын
Needed
@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!
@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.
@fire17102
@fire17102 4 ай бұрын
Hey guys, how come Python is not a Vercel Framework? Don't get it... Why can't you run my flask?
@b_two
@b_two 4 ай бұрын
can we run deno on vercel?
@VercelHQ
@VercelHQ 4 ай бұрын
github.com/vercel-community/deno
@ekchills6948
@ekchills6948 4 ай бұрын
please we need detailed info
@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.
@lambertotamayo4320
@lambertotamayo4320 4 ай бұрын
Its like firebase function.
@guillermobarboza5903
@guillermobarboza5903 4 ай бұрын
are this lambdas?
@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 3 ай бұрын
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
Рет қаралды 181 М.
Theo Browne: Next.js is a backend framework
11:44
Vercel
Рет қаралды 150 М.
🍟Best French Fries Homemade #cooking #shorts
00:42
BANKII
Рет қаралды 56 МЛН
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 9 МЛН
Environments on Vercel
11:34
Vercel
Рет қаралды 9 М.
Website design review: Vercel Ship
11:08
Anthony Hobday
Рет қаралды 779
How to Trade on Uniswap Using MetaMask
10:39
Bitcoin Learning
Рет қаралды 13
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 400 М.
The Big Headless CMS Lie (James Mikrut)
18:14
Vercel
Рет қаралды 44 М.
C.wiz: Cribl Outcomes Wizard
14:12
nth degree
Рет қаралды 41
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 171 М.
Самый топовый ПК без RGB подсветки
1:00
CompShop Shorts
Рет қаралды 196 М.
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 11 МЛН