Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.06 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.06 KB

GitHub Tools

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.

How to start

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

Disclaimer

This project was based on MEVN Boilerplate With Authentication from Anton de Regt.