Deploying to the cloud
If delivering something to production is difficult from a coding perspective, it is very complicated to do it right from an infrastructure perspective. Deploying solutions in the full-fledged versions of Azure, AWS, and Google Cloud is complicated. To deliver quick results, we can leverage cloud services that can serve the dist
folder of our Angular app within minutes.
One such service is Vercel, and another is Firebase, which can leverage the ng deploy
command.
Vercel
Vercel, https://vercel.com, is a multi-cloud service that enables real-time global deployments of applications directly from the CLI. Vercel works with static files, Node.js, PHP, Go applications, and any custom stack of software you’re willing to write a custom builder for, making it quite straightforward. Vercel has a free tier that you can use to deploy the dist
folder of your Angular applications very quickly.
Install the vercel
package to your project and run the login...