Challenges

Deploying Our App

Create a GitHub Repository

Before we proceed, we need to create a GitHub repository & upload our app into that. It is the recommended approach to deploy with Vercel.

So, let's create a new GitHub repository.

Then visit our app inside a terminal & apply this command:

rm -rf .git node_modules

That will remove all the current git information & the node_modules directory.

Now, run following commands to link our app into the newly created GitHub repository.
(Fill your GitHub repository information before applying these commands.)

git init .
git remote add origin git@github.com:[githubLogin]/[repoName].git
git add *
git add .gitignore
git commit -am "Initial commit"
git push origin master

Now, our repository has the code of our app. We can continue with the deploying process.

šŸ™ We need your help

We need your help to keep maintain & add new content to this course. Here's how you can support us: