Deploying a backend on Vercel (APIs and Functions)

Ғылым және технология

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
    @cnikolov4 ай бұрын

    Lee you are landing really nicely with these videos, I think the missing piece now is exploring the possibilities with edge

  • @yaelgonzalez6114
    @yaelgonzalez61144 ай бұрын

    Deploying to Vercel looks amazing.

  • @user-go5eu2jj3m
    @user-go5eu2jj3m4 ай бұрын

    Dang that was some legit backend action right there.

  • @LS-in1xn
    @LS-in1xn26 күн бұрын

    man, i love vercel so much. it's sooooo awesome.

  • @tejusr5525
    @tejusr55254 ай бұрын

    would love to see an in-depth video ✌👍

  • @anayeliriverasalgado8062
    @anayeliriverasalgado80624 ай бұрын

    Finally a simple way to deploy APIs.

  • @TadeoGonzalez-oq4ym
    @TadeoGonzalez-oq4ym4 ай бұрын

    Thanks Vercerl you da real MVP

  • @arkoose
    @arkoose4 ай бұрын

    Nice one!, You explain it very good.

  • @lovekyordie15
    @lovekyordie1515 күн бұрын

    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.

  • @KulturanCov
    @KulturanCov29 күн бұрын

    More in-depth videos, please!

  • @jjrise
    @jjrise4 ай бұрын

    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.

  • @JosueHernandez-qj4ty
    @JosueHernandez-qj4ty4 ай бұрын

    I second that, great video!

  • @dev_franqqi
    @dev_franqqi4 ай бұрын

    Love this channel

  • @leerob

    @leerob

    4 ай бұрын

    Let me know what else you'd like to see!

  • @stonekingproductions
    @stonekingproductions4 ай бұрын

    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?

  • @mystickago
    @mystickago4 ай бұрын

    yes more the better, your explainations are S tair

  • @gappalchemist
    @gappalchemist4 ай бұрын

    Lee Rob the Goat 👌

  • @ColdestElite_Vibe
    @ColdestElite_Vibe4 ай бұрын

    thanks

  • @ignacioaristegui5197
    @ignacioaristegui51974 ай бұрын

    Would love to see how to deploy a backend with Django.

  • @geralddd.g
    @geralddd.g4 ай бұрын

    Needed

  • @EvHaus
    @EvHaus4 ай бұрын

    I would love to be able to deploy a Docker container. Is Vercel planning on supporting that?

  • @thecoderabbi

    @thecoderabbi

    4 ай бұрын

    I second this

  • @jellyfish1772
    @jellyfish17724 ай бұрын

    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.

  • @shivanshpatel4072
    @shivanshpatel40724 ай бұрын

    Does this work for Nestjs as well ?

  • @codemedic
    @codemedicАй бұрын

    Pls make a more descriptive step-by-step tutorial 🙏🙏

  • @HardikAjani
    @HardikAjani4 ай бұрын

    Lovely

  • @raihan8097
    @raihan80974 ай бұрын

    Can i host strapi too?

  • @miguelemmara5046
    @miguelemmara50464 ай бұрын

    is there a way to make it faster? less than 30ms per request?

  • @mzafarr
    @mzafarr4 ай бұрын

    Can we deploy Nest.js on vercel?

  • @jonathangamble
    @jonathangamble4 ай бұрын

    Please fix vercel/og outside of nextjs!

  • @aldrickdev
    @aldrickdev4 ай бұрын

    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.

  • @BlackishGreen
    @BlackishGreen4 ай бұрын

    can i deploy a discord.js backend app based on websocket too?

  • @anuragdhote8902
    @anuragdhote89024 ай бұрын

    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.

  • @aldoyh
    @aldoyh4 ай бұрын

    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.

  • @IvanRandomDude
    @IvanRandomDude4 ай бұрын

    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

    4 ай бұрын

    Have you tried using "concurrently" pkg?

  • @0xtz_

    @0xtz_

    4 ай бұрын

    @@nikitaistomin3588 yes but didn't work well hhhhh or 8 did something wrong

  • @BhideSvelte
    @BhideSvelte4 ай бұрын

    now can we host pocketbase on vercel ?

  • @ekchills6948
    @ekchills69484 ай бұрын

    please we need detailed info

  • @dmarksbarber
    @dmarksbarber4 ай бұрын

    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!

  • @oeuvars
    @oeuvars4 ай бұрын

    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.

  • @b_two
    @b_two4 ай бұрын

    can we run deno on vercel?

  • @VercelHQ

    @VercelHQ

    4 ай бұрын

    github.com/vercel-community/deno

  • @mettle_x
    @mettle_x4 ай бұрын

    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
    @nicov994 ай бұрын

    does it work with a .NET api?

  • @lambertotamayo4320
    @lambertotamayo43204 ай бұрын

    Its like firebase function.

  • @fire17102
    @fire171024 ай бұрын

    Hey guys, how come Python is not a Vercel Framework? Don't get it... Why can't you run my flask?

  • @loveboat
    @loveboat4 ай бұрын

    Understood about 1% of this.

  • @guillermobarboza5903
    @guillermobarboza59034 ай бұрын

    are this lambdas?

  • @nothorizonhere
    @nothorizonhere4 ай бұрын

    Make it so you get unlimited bandwith with pro plan

  • @cnikolov
    @cnikolov4 ай бұрын

    The easiest way to turn your apis to lambdas

  • @george_davituri
    @george_davituri4 ай бұрын

    🤟🏻🏂

  • @simonmbewe6324
    @simonmbewe63243 ай бұрын

    time westing .next time just go direct to a point

  • @aralroca
    @aralroca4 ай бұрын

    Would love to see some Bun.js examples! 😊

Келесі