Skip to content

MERN stack, universal JavaScript build with Express, React, React Router v4, Redux, MongoDB, Passport and Google OAuth 2.0.

Notifications You must be signed in to change notification settings

mauricevancooten/full-stack-react-starter-kit

Repository files navigation

Full Stack React Starter Kit

MERN stack, universal JavaScript build with Express, React, React Router v4, Redux, MongoDB, Passport and Google OAuth 2.0.

Webpack to compile JavaScript, JSX and Sass.

  • ESLint to lint JavaScript
  • Babel Minify to compress JavaScript
  • JavaScript compiles down to ES5, PostCSS and Autoprefixer compiles CSS for older browser compatibility
  • HMR for development
  • CRUD operations using MongoDB and Redux.
  • Authentication using Passport, Google OAuth 2.0 and Redux

Instructions

Requires a MongoDB installation. Listening on default port: 27017.

  1. Install dependencies: npm install
  2. Compile client: npm run compile
  3. Compile server: npm run compile-server
  4. Run production / development environment
    • For production: node server.js
    • For development: npm run dev (comment out stylesheet link for HMR)
  5. Visit: http://localhost:3000

In a live server environment you may only want to install dependencies.

  1. Install dependencies: npm install --only=production

Production

Sass is compiled to autoprefixed and minified CSS. Javascript is linted and minified.

Development

Webpack HMR live reloads JavaScript and CSS in the browser.

Licence

Licensed under MIT licence.

About

MERN stack, universal JavaScript build with Express, React, React Router v4, Redux, MongoDB, Passport and Google OAuth 2.0.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published