/client-react-stack

Client React stack using Redux and GraphQL

Primary LanguageJavaScript

Frontend/Client React stack

  • Libraries

Uses parts of this boilerplate mostly on the server and webpack setup.

Setup

  • Requirements

    • nodejs@4.4.3
    • npm@3 ($ npm i -g npm)
  • make sure you installed this server graphQL server so we get data to load in our app.

Run

  • make sure you started the server from graphQL server

  • dev

    • $ npm run dev OR
    • $ PORT=xxxx npm run dev
  • build

    • $ NODE_ENV=production npm run build
    • $ NODE_ENV=production node server