Flive-boilerplate
🚧 this is a work in progress, future change may not be compatible 🚧
Usage
Required environment
- *nix system / Mac Os
- node 7
- yarnpkg as a package manager
Installation
- git clone the project
- yarn install
- in src/server/ copy config.example.json config.development.json
- the example authentification uses the Sigfox Partner Network API
Development
- set this repo as 'upstream' instead of 'remote'
- set your own repo as remote
- push on your remote
- user yarn to manage npm packages (this will ensure everyone has exactly the same package versions)
Tech overview
- React / Redux => latest versions
- React-router => v2 (v4 is incompatible with our auto-data fetching logic for now)
- Redux-router
- Redux-form
- Axios as http client, both on client and server
- Koa as the node server
State of the project
To-do
- documentation
- server side rendering
- webpack production config
- better images handling in webpack (url-loader/file-loader)
- optimisations (PureComponent, shouldComponentUpdate)
Done
- eslint rules
- global server architecture
- global front architecture