git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
const { applyMiddleware, createStore } = Redux; | |
const createSagaMiddleware = ReduxSaga.default; | |
const { put, call } = ReduxSaga.effects; | |
const { takeLatest } = ReduxSaga; | |
const { connect, Provider } = ReactRedux; | |
// GitHub API | |
const gitHubApi = (username) => { | |
return fetch(`https://api.github.com/users/${username}`) | |
.then(response => { |
var express = require('express'), | |
passport = require('passport'), | |
bodyParser = require('body-parser'), | |
LdapStrategy = require('passport-ldapauth'); | |
// Credentials from the free LDAP test server by forumsys | |
// More info at: http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/ | |
var OPTS = { | |
server: { | |
url: 'ldap://ldap.forumsys.com:389', |