Тёмный

Node.js Express Deployment on Vercel: Quick and Easy 

Lets build together
Подписаться 712
Просмотров 41 тыс.
50% 1

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 🚀

Наука

Опубликовано:

 

14 окт 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@lets-build-together
@lets-build-together 9 месяцев назад
Sometimes vercel is timing out for long operations, if that's the case. Deploy your application in render (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-VHMAcM1T1IY.html)
@lucasgaspari4175
@lucasgaspari4175 4 месяца назад
thank you!! it works correctly :)
@oselechidera3957
@oselechidera3957 6 месяцев назад
no repo link?
@Sooraj-Rao6
@Sooraj-Rao6 6 месяцев назад
Thanks mate!
@tanmaychavan743
@tanmaychavan743 6 месяцев назад
Thank you so much ❤
@ashandimantha6538
@ashandimantha6538 2 месяца назад
Thank you 💖💖
@user-lc7qs7gy5d
@user-lc7qs7gy5d 15 дней назад
bhai mere ko This deployment does not have a deployment summary. aara !
@mohammadrehan-zg2bg
@mohammadrehan-zg2bg 10 дней назад
Big big thanks
@purpleh3ad_695
@purpleh3ad_695 7 месяцев назад
More power to you, brother.
@lets-build-together
@lets-build-together 7 месяцев назад
Thank you
@soniyaratnakar1726
@soniyaratnakar1726 7 месяцев назад
Hi, my index.js is in src folder, what modification I need to do to vercel.json?
@lets-build-together
@lets-build-together 6 месяцев назад
Hey hi, you have to tell where exactly your index file inside vercerl.json>builds ( "builds":[{"src":"./src/index.js",...}] )
@anounman
@anounman 7 месяцев назад
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 6 месяцев назад
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/
@jasmeetsingh4551
@jasmeetsingh4551 4 месяца назад
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 4 месяца назад
Hey sorry for the confusion, please go with the one mentioned at 0.57.
@jasmeetsingh4551
@jasmeetsingh4551 3 месяца назад
@@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 👍
@dansinn
@dansinn 2 месяца назад
Thanks
@hanslou5309
@hanslou5309 4 месяца назад
What if my build command builds everything to a dist/ directory? How would I change the configuration? Thank you :)
@mehrinfirdousi3834
@mehrinfirdousi3834 Месяц назад
did you figure this out?
@HelenaDuGraus
@HelenaDuGraus 3 месяца назад
Here I get "Internal server error"
@hemanthnath3258
@hemanthnath3258 Месяц назад
Same for me too. Is it resolved?
@blackslash4954
@blackslash4954 3 месяца назад
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 2 месяца назад
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 2 месяца назад
@@chitraarasuk25 already starting server after the connection sir
@MakarovSergey39
@MakarovSergey39 6 месяцев назад
If you dont mind I request tutorial how to hosting(free) postgresql database with nodejs+express+sequelize as a server please.
@TutoMaster
@TutoMaster 4 месяца назад
Render
@footgame756
@footgame756 3 месяца назад
@@TutoMaster thanks budy render is life saving netlify killed me :=?
@Tussu17
@Tussu17 3 месяца назад
@@footgame756 Whyyyy!
@Vampion
@Vampion 7 месяцев назад
404 not found
@lets-build-together
@lets-build-together 7 месяцев назад
Hey sorry I didn’t get you. You are facing any issue?
@muzafferkadir
@muzafferkadir 3 месяца назад
same.
@dingus42
@dingus42 2 месяца назад
same here
@mehrinfirdousi3834
@mehrinfirdousi3834 Месяц назад
same
@dingus42
@dingus42 Месяц назад
@@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
Просмотров 69 тыс.
شربت كل الماء؟ 🤣
00:31
Просмотров 17 млн
НОВАЯ ПАСХАЛКА В ЯНДЕКСЕ
00:20
Просмотров 927 тыс.
Why People Aren't Deploying to Vercel Anymore
5:55
Просмотров 154 тыс.
BEST ways to deploy a NextJS app
4:56
Просмотров 38 тыс.
Deploying a backend on Vercel (APIs and Functions)
4:14
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
How to deploy express.js on Netlify
5:23
Просмотров 131 тыс.
Здесь упор в процессор
18:02
Просмотров 380 тыс.
Samsung laughing on iPhone #techbyakram
0:12
Просмотров 671 тыс.
Здесь упор в процессор
18:02
Просмотров 380 тыс.
$1 vs $100,000 Slow Motion Camera!
0:44
Просмотров 26 млн