After research how to deploy Express.js app to Vercel. Finally, I found and got have an application has deployed to Vercel. It's take a lot of time...
For further actions, you may consider blocking this person and/or reporting abuse
this is awesome.. but when i try to build using express generator, it doesn't work, is there any help :(
Vercel is not supporting the Express Generator at the moment. Becasue it's attach to the pattern of serverless. Instead, you can use express traditional. Thanks.
So i created an api with express
can i use vercel to deploy it?
Yes, you can.
Thanks!
Could you show us how to do this with Angular Universal or NestJS?
I will try it.
Thanks!
But how can I deploy a express - handlebars to vercel ? Here is my folder structure and vercel.json :
have you got any answer?
How about a full stack app where I use express on folder /server and react on /client ?
Waiting for my new post 😀
Thanks @hte305 !
Hope, it helps something to you.
Is it completely free?
As you wish 😉
thanks , this is really useful!
This is really great, but isn't that the whole point of serverless functions?
Actually, Express is a traditional server. It's not supported by serverless. But you still want to covert Express to serverless app. You can find out in this article. But I recommend you should using Next.js to making an awesome application with full serverless function.
Thanks =)
Your app doesn't work express-vercel-theta.vercel.app
Cannot GET /
Thanks man. I was stuck in last step and this helped me a lot.
this is awsome ,hey can i use mongodb data base for this as well
I'm working on a next.js app which uses mongod and host my backend on MongoDB Atlas. Yes, you can use MongoDB. And better yet would be to use Mongoose because of its schemas.
Hi ! I am having an issue, I can see my express app (which has front too) in localhost successfully, but when i deploy it in vercel, I cannot see the app, what should i do?}
ThankS!