Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/princev/koa2-react-redux-webpack-boilerplate
Minimalistic boilerplate for koa2, react, redux with the help of babel and webpack.
https://github.com/princev/koa2-react-redux-webpack-boilerplate
babel documentation koa react redux simple webpack
Last synced: 7 days ago
JSON representation
Minimalistic boilerplate for koa2, react, redux with the help of babel and webpack.
- Host: GitHub
- URL: https://github.com/princev/koa2-react-redux-webpack-boilerplate
- Owner: princeV
- License: mit
- Created: 2016-10-17T11:37:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-11T15:16:06.000Z (almost 7 years ago)
- Last Synced: 2024-10-28T00:50:10.463Z (9 days ago)
- Topics: babel, documentation, koa, react, redux, simple, webpack
- Language: JavaScript
- Homepage:
- Size: 134 KB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# koa2-react-redux-webpack-boilerplate
Minimalistic boilerplate for koa2, react, redux with the help of babel and webpack.
What's __not__ included:
- HMR
- Dev-Server
- Tests (API tests available in extension)
- Prod/Dev setup
- Server-side rendering__Note:__
This is only very basic functionality without any intent to serve as a "real world" boilerplate.
It's more ment to be like a quick start to try and learn.[Project setup guide.](./docs/project-setup.md)
## Extensions:
Please see the [extensions](extensions/) folder for additional functionality like a REST API or db access etc.
More releases will be coming soon...## Installation
fork this repo & git clone the repo
## Command
#### Setup
npm install
npm install --only-dev#### Build
npm run build
#### Start
npm start
## Dependencies
- Test:
+ left out for simplicity reasons (included in API extension)
- Build:
+ [babel](http://babeljs.io/)
+ tools: babel-register/ babel-polyfill
+ presets: [ "es2015", "stage-0", "react" ]
+ [webpack](https://webpack.github.io/)
+ loaders: babel-loader
- Core:
+ [koa2](https://github.com/koajs/koa/)
+ file-serving: [koa-static](https://github.com/koajs/static)
+ [react](https://facebook.github.io/react/)
+ redux-bindings: [react-redux](https://github.com/reactjs/react-redux)
+ [redux](http://redux.js.org/)## License
MIT