GithubHelp home page GithubHelp logo

ptzagk / react-redux-passport-uikit-express-boiler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rastenis/react-redux-passport-uikit-express-boiler

0.0 0.0 0.0 581 KB

A React+Redux boilerplate using Express as backend, UIKit for frontend, MongoDB for storage & Passport for auth.

Home Page: https://reactredux.demos.matasr.com

HTML 0.79% JavaScript 98.86% CSS 0.35%

react-redux-passport-uikit-express-boiler's Introduction

react-redux-passport-uikit-express-boiler

Status

A React+Redux boilerplate using Express as backend, UIKit for frontend, MongoDB for storage & Passport for auth.

Demo website.

Features

  • Webpack+Babel for the client, babel-node for the server
  • User authentication either via email/password or via Google/Twitter. PassportJS allows for easy expansion to authentication via other social platforms.
  • Auth method merging, linking and unlinking of social auth accounts
  • Client
    • React, backed by UIKit components/layout/icons
    • Redux + Redux-saga state management
    • Mocked auth-gated data example
    • redux-devtools and redux-logger automatically enabled in devmode for testing purposes
  • Server
    • Express server
    • Async/await design with await-to-js error handling
    • MongoDB(mongoose) for storage
    • Auth-based route guarding
  • TLS/HTTPS:
    • Automatic certificate generation powered by greenlock
    • Self hosted mode (443/80 port access required) + simple mode (http only, custom port), for use with reverse proxy configurations

Installation

# clone the repo
$ git clone https://github.com/Scharkee/react-redux-passport-uikit-express-boiler.git
$ cd react-redux-passport-uikit-express-boiler
# install dependencies
$ npm i
# perform guided setup
$ npm run setup
# build the client and launch everything in devmode on port 8081.
$ npm run dev

# launch in production mode on the port that was chosen when setting up (default 7777)
$ npm run launch

TODO

  • Full coverage tests.

Unguided key setup

  • The process for obtaining a Google key is described here.
  • The process for obtaining a Twitter key is described here.

Information & sources

React docs can be found here: React docs.

Read about Redux here here and about Redux-Saga here.

react-redux-passport-uikit-express-boiler's People

Contributors

rastenis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.