Live Demo: https://quirky-northcutt-652f57.netlify.com/
- Node.js (recommended: 4.x)
- npm (recommended: 2.x or 3.x)
- Build a image called react-nginx for example: $ docker build -t react-nginx .
- Then run a new container using it: $ docker run --rm -it -p 8080:80 react-nginx
$ git clone https://github.com/alisonjonck/todo-app
$ cd todo-app
$ npm install
$ npm test
$ npm start
$ npm run build
Enable or disable TEST
for #filter
setting. Change ENABLE_FILTER_TEST
to true or false at webpack.config.js
.
{
plugins: [
...,
new webpack.DefinePlugin({
'ENABLE_FILTER_TEST': JSON.stringify(true)
})
]
}