Display star history for github repositories
- nodejs version >= 12
- npm version >= 6
- Github OAuth App - can be set up in settings (needed to authenticate github users)
- For "Authorization callback URL" field use
http://localhost:3000/auth/github/callback(for development)
- For "Authorization callback URL" field use
npm i- set environment variables
GITHUB_APP_IDandGITHUB_APP_SECRET- id and secret for Oauth App
npm start- run both client and servernpm run start:client- run client app on localhost:3000npm run start:server- run server app on localhost:3001
# Example
npm i
GITHUB_APP_ID="XXXX" GITHUB_APP_SECRET="XXXX" npm startnpm run build- build client app- run
server.jsfile with your favourite process management tool
# Example
npm i
npm run build
PORT="XXXX" GITHUB_APP_ID="XXXX" GITHUB_APP_SECRET="XXXX" pm2 start server.js