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

Versent/react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)