Git Product home page Git Product logo

push-starter's Introduction

React Redux Styled Hot Universal

React boilerplate, used best practices and focus on performance

Build Status Dependency Status devDependency Status


Live Demo ๐Ÿ‘€

About

The starter boilerplate includes the following technologies:

Technology Description
Node 10.15.1 LTS Node
Redux Dev Tools Redux Dev Tools
React Hot Loader 4 Tweak React components in real time
React 16 JavaScript library for building user interfaces
React Router 4 React Router is a complete routing library for React
Babel Babel is a JavaScript compiler
Webpack 4 Module bundler
Universal Webpack Helps setting up universal Webpack build: the one that's working both on client and server
Redux Redux is a predictable state container for JavaScript apps
React Router Redux Simple bindings to keep react-router and redux in sync
ESLint The pluggable linting utility for JavaScript and JSX

Installation

rm -rf node_modules
npm install

Create dev environment

mv .env.example .env

Running Dev Server

npm run dev

Create production environment

mv .env.production.example .env.production

Running Prod Server

npm run prod

Running Tests

npm run test

Deployment on Heroku

To get this project to work on Heroku, you need to:

  1. Add heroku heroku git:remote -a heroku-app-name
  2. heroku config:set NODE_ENV=production
  3. heroku config:set SSR=1
  4. heroku config:set SSL=1
  5. heroku config:set NPM_CONFIG_PRODUCTION=false
  6. heroku config:set NODE_MODULES_CACHE=false
  7. heroku config:set GOOGLE_ANALITICS_ID=UA-xxxxxxxxx-x (optional)

Docker

Run container

docker-compose up -d

Build an image

docker build -t wearepush/redux-starter .

Contributing

We are more than happy to accept external contributions to the project in the form of feedback, bug reports and even better - pull requests :) If you would like to submit a pull request, please make an effort to follow the guide in CONTRIBUTING.md.

push-starter's People

Contributors

bsadecki avatar dmitriy-saltovskiy avatar irmairma avatar iuriy-budnikov avatar karpovmisha avatar timurztd avatar yaroslav-zamirets 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.