From the course: Master Next.js by Building Scalable Apps with Routing, Databases, and Performance

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

GitHub integration

GitHub integration

In this lecture, we will create repositories for admin and client sections on GitHub and push the code on the repositories. To do so, we will have to integrate the Git into our application. So first, I will create the repositories on GitHub. Let me open github.com and log into my account. If you don't have an account, then you can easily create one. Now I will create a new repository for the admin app by clicking on the New button. Here I will give the repository name MyStoreAdmin. Then I will keep the repository private. Here you can select the public option if you want to show your code or work to all the users of GitHub. Alright, I'll click on create repository and the my store admin repository is created. Here you can observe that they have provided the steps to push our code into the GitHub. For that we will need to set up the git into computer. So let's go to the admin directory. I'll install the git by writing npm i git and enter. Now I will initialize git into the directory by…

Contents