Skip to content

Commit

Permalink
chore: minor fix and edited readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCaliman committed Jul 3, 2024
1 parent 5c5d95d commit 62490af
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ $ npm run dev

You may sign in into your application visiting `http://localhost:8080/user/signin`.

## for the Env files
### api
```
GITHUB_CLIENT_ID = your_client_id
GITHUB_CLIENT_SECRET = your_client_secret
```

### web
```
VITE_GITHUB_CLIENT_ID = your_client_id
```

## Support

Expand Down
2 changes: 1 addition & 1 deletion api/src/routes/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ githubRouter.POST('/githubAuth', async(context)=>{
},
})
if (userInsertError){
console.log(userInsertError)
return console.log(userInsertError)
}
console.log(userInsertResult)
}
Expand Down

0 comments on commit 62490af

Please sign in to comment.