This is an example project that proxies the GitHub API to check the latests commits of the collaborators of the repos from the organizations the user belongs to.
Live demo
It uses NodeJS + Express for the backend and VueJS for the front-end.
PassportJS is also used to authenticate a GitHub user and request an OauthToken to access its private API.
Add a .env file with your PORT, GITHUB_ID, GITHUB_SECRET and APP_URL like this:
PORT=3000
GITHUB_ID=<% YOUR_GITHUB_ID %>
GITHUB_SECRET=<% YOUR_GITHUB_SECRET %>
APP_URL=http://127.0.0.1:3000/
After that execute the following:
# install dependencies
npm install
# build and watch for changes
npm run serve
# run in a seperate terminal to serve at localhost:3000
nodemon server.js
# build for production with minification
npm run build
This project was based on MEVN Boilerplate With Authentication from Anton de Regt.