Node.js Express Deployment on Vercel: Quick and Easy

  Рет қаралды 27,804

Lets build together

Lets build together

7 ай бұрын

In this tutorial video, we will learn how to deploy a NodeJS express application for free on Vercel. We will start by creating a hobby account on Vercel and connecting it to the Git provider where our application is stored. We will then add a configuration file to our repository and import our code to Vercel before doing the deployment.
We will also test the functionality of nested routes and check if our Firebase connection is proper by adding a new route that pulls transactions from Firebase Firestore. Finally, we will update our Telegram bot hook to use this endpoint and test it using Postman.
This tutorial is perfect for beginners who want to learn how to deploy a NodeJS express application on Vercel for free. No prior experience is required, and each step will be explained in detail.
So, join us in this tutorial video, and let's deploy our NodeJS express application on Vercel together!
------------------------------------------------------------
🤨⁉️ Problem statement:
As we all know, groceries can be one of the biggest expenses in our monthly budget. To help manage this expense, I am planning to develop a Telegram bot that can parse my grocery bills and store the information in a database. This will allow me to set a monthly budget and monitor my spending as necessary. Additionally, I am considering building a front-end application that will allow me to easily track which items I am spending the most on each month.
📺 Videos in these series
#0 Problem Statement : • Build a Telegram Bot t...
#1 Creating a telegram bot using Node JS : • Master Telegram Bot De...
#2 Build Your Receipt Scanner with Node.js : • Build Your Receipt Sca...
#3 Firebase & NodeJS Tutorial : • Firebase & NodeJS Tuto...
#4 Streamlining the Application : • Streamlining the Recei...
#5 Node.js Express Deployment on Vercel : Current Video
#6 Front end application development : On the way 🚀
#7 Front end application hosting using firebase : On the way 🚀

Пікірлер: 32
@lets-build-together
@lets-build-together 7 ай бұрын
Sometimes vercel is timing out for long operations, if that's the case. Deploy your application in render (kzbin.info/www/bejne/jHmwcpaDZrlkf7s)
@lucasgaspari4175
@lucasgaspari4175 2 ай бұрын
thank you!! it works correctly :)
@soorajrao3229
@soorajrao3229 4 ай бұрын
Thanks mate!
@tanmaychavan743
@tanmaychavan743 4 ай бұрын
Thank you so much ❤
@purpleh3ad_695
@purpleh3ad_695 5 ай бұрын
More power to you, brother.
@lets-build-together
@lets-build-together 5 ай бұрын
Thank you
@ashandimantha6538
@ashandimantha6538 22 күн бұрын
Thank you 💖💖
@oselechidera3957
@oselechidera3957 4 ай бұрын
no repo link?
@dansinn
@dansinn 10 күн бұрын
Thanks
@jasmeetsingh4551
@jasmeetsingh4551 3 ай бұрын
I'm confused. 0:57 and 1:21, on both these timestamps, your vercel.json looks different. What exactly do we have to mention?
@lets-build-together
@lets-build-together 3 ай бұрын
Hey sorry for the confusion, please go with the one mentioned at 0.57.
@jasmeetsingh4551
@jasmeetsingh4551 2 ай бұрын
@@lets-build-together Thanks dude... Sorry for the late reply...didn't see your message. I went for the one on 0:57 only 👍😊 unfortunately, vercel is timing out longer operations saying "This serverless function has timed out"... But I'm gonna try other options like Render, Railway or AWS 👍
@hanslou5309
@hanslou5309 2 ай бұрын
What if my build command builds everything to a dist/ directory? How would I change the configuration? Thank you :)
@mehrinfirdousi3834
@mehrinfirdousi3834 2 күн бұрын
did you figure this out?
@soniyaratnakar1726
@soniyaratnakar1726 5 ай бұрын
Hi, my index.js is in src folder, what modification I need to do to vercel.json?
@lets-build-together
@lets-build-together 4 ай бұрын
Hey hi, you have to tell where exactly your index file inside vercerl.json>builds ( "builds":[{"src":"./src/index.js",...}] )
@blackslash4954
@blackslash4954 Ай бұрын
Hello, i tried deploying the backend on vercel. Deployed frontend already. Was not able to fetch some of the mongo db data, users particularly, for sign up and login. error: 504. When I deployed the backend on render, it worked. How to solve this issue?
@chitraarasuk25
@chitraarasuk25 22 күн бұрын
Hi, this is serverless, so instances of your app can be started and stopped an anytime between requests. That means you need to connect to mongo before you listen on the server port. In render for example the server will start and stay running so the connection is not ready for the first second or two.
@blackslash4954
@blackslash4954 22 күн бұрын
@@chitraarasuk25 already starting server after the connection sir
@anounman
@anounman 5 ай бұрын
When we used the import method (type : "module") it's not working in vercel even I already defined the type in package.json
@lets-build-together
@lets-build-together 4 ай бұрын
Hey hi, i think you have to enable the es6 support for node, you can read more here www.geeksforgeeks.org/how-to-use-an-es6-import-in-node-js/
@HelenaDuGraus
@HelenaDuGraus Ай бұрын
Here I get "Internal server error"
@MakarovSergey39
@MakarovSergey39 4 ай бұрын
If you dont mind I request tutorial how to hosting(free) postgresql database with nodejs+express+sequelize as a server please.
@TutoMaster
@TutoMaster 2 ай бұрын
Render
@footgame756
@footgame756 Ай бұрын
@@TutoMaster thanks budy render is life saving netlify killed me :=?
@Tussu17
@Tussu17 Ай бұрын
@@footgame756 Whyyyy!
@Vampion
@Vampion 5 ай бұрын
404 not found
@lets-build-together
@lets-build-together 5 ай бұрын
Hey sorry I didn’t get you. You are facing any issue?
@muzafferkadir
@muzafferkadir Ай бұрын
same.
@dingus42
@dingus42 Ай бұрын
same here
@mehrinfirdousi3834
@mehrinfirdousi3834 2 күн бұрын
same
@dingus42
@dingus42 2 күн бұрын
@@mehrinfirdousi3834 hey so I solved it for mine, just find and use a barebones vercel/node app from anyone else that works and slowly add your own files until it breaks. That should help you find what is the problem
Deploy an Express API to Vercel
6:06
Coding Garden
Рет қаралды 62 М.
Deploying a backend on Vercel (APIs and Functions)
4:14
Vercel
Рет қаралды 45 М.
Dynamic #gadgets for math genius! #maths
00:29
FLIP FLOP Hacks
Рет қаралды 18 МЛН
The Worlds Most Powerfull Batteries !
00:48
Woody & Kleiny
Рет қаралды 19 МЛН
Be kind🤝
00:22
ISSEI / いっせい
Рет қаралды 21 МЛН
Why People Aren't Deploying to Vercel Anymore
5:55
Josh tried coding
Рет қаралды 143 М.
How to Deploy a ReactJS and NodeJS app with Vercel!
14:55
Angeltheesoto
Рет қаралды 30 М.
Deploying Express API to Firebase | Firebase functions | Serverless API
12:46
How To Deploy Node.js Server to Vercel | Node.js Tutorial
6:03
Deploy Express.js on Vercel
3:04
this.stephie
Рет қаралды 2 М.
Easily Deploy to Vercel with One Click
4:05
James Q Quick
Рет қаралды 102 М.
How To Use TypeScript With Express & Node
17:05
Colt Steele
Рет қаралды 62 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 2,9 МЛН
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 2,7 МЛН
Samsung or iPhone
0:19
rishton vines😇
Рет қаралды 9 МЛН