Member-only story
I Deployed the Node.js Server On Vercel for Free π
Use Vercel for RESTFul API for free
Not a member? Read here for free
Vercel is well-known for hosting static websites, but do you know, you can also deploy your Node.js server on it for free?
After Heroku discontinued its free service, I tried to find an alternative that provides free Node.js server hosting. Then I found Vercel, which I was using for my Next.js and React.js projects.
In this article, I will share how you can host your node js server on vercel for free-
Deploying a Node.js Server on Vercel
Follow these steps to deploy your server on vercel-
1. Create a Node.js Server Locally-
If you do not have your project started yet, then create a new Node.js server with Express.js-
- Create a folder for your project-
mkdir my-vercel-node-server
cd my-vercel-node-server
- Initialize a Node.js project-
npm init -y