Introducing our web app that simplifies the process of creating a GitHub repository. With our user-friendly interface, you can quickly authorize your GitHub account and create a new repository with just a few clicks. Say goodbye to the hassle of navigating GitHub's complex settings and commands. Our app streamlines the process, making it easy for both beginners and experienced developers to create a new repository. Additionally, our app allows you to customize your repository's name, description, and other details. Whether you're working on a personal project or collaborating with a team, our app makes it easy to get started on GitHub. Try it out today and experience the convenience of creating a new repository in seconds!
Client: Html , Css , Javascript
Server: Nest.js
To run this project, you will need to add the following environment variables to your .env file in root directory
for getting the bellow credentials please reffer the bellow url https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app
GITHUB_CLIENT_ID= YOUR_CLIENT_ID
GITHUB_SECRET= YOUR_APP_SECRET
PORT= 5100
Install my-project with npm
git clone https://github.com/Kallyan01/github-oauth-nestjs.git
cd github-oauth-nestjs
npm install
npm run start
GET /auth/user
Redirect You to github OAuth Popup , where you have to grant permission to access all the repo read & Write data
GET /auth/gitoauth-callback
Body | Type |
---|---|
code |
string |
Generate the accessToken for you
POST /user/create_repo
Header | Type | Required |
---|---|---|
authorization |
Bearer |
true |
Body | Type | Description |
---|---|---|
name |
String |
Repo Name |
description |
String |
Repo Description |
create repo for the logged in user