Skip to content
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.

Latest commit

 

History

History
104 lines (72 loc) · 1.9 KB

readme.md

File metadata and controls

104 lines (72 loc) · 1.9 KB

React Starter

Starter Application for React SPAs, this kit includes:

Set up

  1. Install Docker and Docker-compose

  2. Create data container

make build-data
  1. Build all container
make build-containers

Run

docker-compose up

Open http://ip_or_host_to_docker_vm:4002/

Lint

make client-lit

Test

Run all tests:

make client-test

Testing with coverage:

make client-test-coverage

Watch mode:

make client-sh
npm run test-watch

Running single test:

Shell into container and run test:

make client-sh
ava ./src/users/Show.test.js

Isues:

TODO:

  • Fix HMR
  • Production webpack
  • Using production version of seamless-immutable
  • Test using CI
  • Deployment with Docker
  • Flow type checker (Doesn't work with ES6)