Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Amenallah Hsoumi LazyFatArrow

🎯
Focusing
View GitHub Profile
View app.js
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());
View package.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",
View install libraries
yarn add react-router-dom redux react-redux redux-saga
View App.js
import React, { Component } from 'react';
import logo from './logo.png';
import './App.css';
// Code...
You can’t perform that action at this time.