Skip to content

Instantly share code, notes, and snippets.

View LazyFatArrow's full-sized avatar

Amenallah Hsoumi LazyFatArrow

View GitHub Profile
express social-auth
var express = require('express');
var path = require('path');
var logger = require('morgan');
var bodyParser = require('body-parser');
var routes = require('./routes/index');
var app = express();
app.use(logger('dev'));
app.use(bodyParser.json());
{
"name": "rest-social-login",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www",
"start:watch": "nodemon ./bin/www.js"
},
"dependencies": {
"body-parser": "~1.13.2",
npm i -g create-react-app
create-react-app voteball
yarn add react-router-dom redux react-redux redux-saga
import React, { Component } from 'react';
import logo from './logo.png';
import './App.css';
// Code...