https://github.com/redouane64/refactored-goggles
NodeJS Github authentication sample
https://github.com/redouane64/refactored-goggles
authentication express github nodejs oauth
Last synced: 3 months ago
JSON representation
NodeJS Github authentication sample
- Host: GitHub
- URL: https://github.com/redouane64/refactored-goggles
- Owner: Redouane64
- License: mit
- Created: 2021-12-17T17:33:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-18T00:07:47.000Z (over 4 years ago)
- Last Synced: 2025-10-30T20:40:44.925Z (8 months ago)
- Topics: authentication, express, github, nodejs, oauth
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NodeJS Github Authentication Sample
### Installation and starting server
1. `yarn install` or `npm install`
2. Create OAuth application through Github Settings
3. Create `.env` with following variables:
```
GITHUB_AUTH_URL=https://github.com/login/oauth/authorize
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
```
4. Run the server with `npm run start:dev`
5. Open `http://127.0.0.1:5000`