Hi Webmasters !
Today I show you how to deploy your webapp on a serverless service.
After, many thank for your support in my last post !
Vercel.app is a service who sync your Github / Gitlab repo for easy deployment.
When you push on the master Vercel rebuild you'r project and deploy if passed the build step.
create your account
The first step it's install Vercel CLI with this command:
npm i -g vercel
Next Create a Node project, like a VueJS project.
vue create my-awesome-app
inside your project set the repo:
git remote add origin https://gitlab.com/UserName/MyAwesomeProject git add . git commit -m "initial release" git push -u origin master
now inside your app project
yes just this command without options can make the process of deployment easily
Vercel is awesome because you can set your domain for free ,but by default he give you a domain like xxxx.vercel.app for testing.
you can view log inside your dashboard
Enjoy the powerful of serverless