Web Dev: Getting started with Vercel
Tags: webdev, website, programming, tutorial
Published: 2022-03-14 01:51:02

## What is Vercel?
Vercel is an amazing tool that allows you to build you own static sites with a few clicks of a button after setting up your account. Vercel makes the steps of deploying and scaling of your site almost effortless.

## How to get started with Vercel
First, there are many ways to create an account with Vercel but I recommend to create an account through your Github. You can access the website using the link provided: [Vercel Website](https://vercel.com)
When creating your account through Github, it allows you to import your repositories with a few simple clicks of a button.
#### Vercel Demo using UI
In the picture below, is my first experience with deploying a static site on Vercel. When my instructor had given us the demo file, all I had to add was the ".env File" and copy and paste the content into the file. ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b8tjjmlqj7c6hsb10kf5.png)
[Link to my deployment site](https://vercel-demo-example-three.vercel.app/)
Here is a link to my Github repository if you would like to clone it and deploy it yourself:[Vercel-Demo-Example](https://github.com/brt5181/Vercel-Demo-Example.git)
#How to deploy the repo
First make sure you clone the repo or fork the repo provided above so that you can import it to your Vercel account. After that click "New Project" and make sure that you import the correct repository. After that the only thing that you need to do is to just type "dist" or "_site" into the output line on Vercel. In this demo we are going to use "dist" as the output. Once you do this, you are ready to deploy and now you can view the site! The cool thing about Vercel is when you update the Github repository to add more content, it will automatically update the changes to your deployment.

##Deploying 11ty Projects using Vercel
Uploading your 11ty projects using Vercel is super easy and quick because they required little to no configuration. Here are my 11ty projects that I have deployed.
![11typ2 Deployment](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k5177t6hens4q1iauaed.png)
[Link to my 11ty deployment](https://11typ2.vercel.app/)
**REPO** [My GitHub repo](https://github.com/brt5181/11typ2)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/294zclwq6bydjzlai050.png)
[Link to second 11ty deployment](https://11typ3.vercel.app/)
**Repo** [My Repo](https://github.com/brt5181/11typ3)

If you haven't heard of 11ty check out my Blog post: [Getting started with 11ty](https://dev.to/brt5181/getting-started-with-11ty-jc1)

## Developer experience
Compared to the traditional CI/CD pipeline using GitHub, Vercel makes the experience of deploying your static site so much easier and quicker. The traditional CI/CD way of deploying your site can be extremely tedious and gives you little help on the errors you are getting. With Vercel, it was extremely clear when encountering an error during deployment.

## More Links
[Micro Front End Architecture by: Michael Potter](https://www.redhat.com/architect/micro-frontend-architecture)
[Vercel Docs For Environment Variables](https://vercel.com/docs/concepts/projects/environment-variables)