Build web apps using ReactJS, Redux, Webpack and Babel
- Redux - Predictable state container for JavaScript apps
- Webpack - A bundler for javascript and friends
- React-Router - A complete routing library for React
- Babel - Compiles ES6 to ES5. Enjoy the new version of JavaScript today
- ESLint - The pluggable linting utility for JavaScript and JSX
- NPM scripts - Run project with just one command
- Node.js v4
- Bower
- YARN - Yarn is a package manager for your code. It allows you to use and share code with other developers from around the world. Yarn does this quickly, securely, and reliably so you don’t ever have to worry.
Install Yarn
$ npm install yarn -gClone this repo
$ git clone https://github.com/JuneDomingo/react-starterkit.git
$ cd react-starterkit
$ yarn install
$ npm start -sClone the API repo (Optional)
$ git clone https://github.com/JuneDomingo/react-starterkit-api.git
$ cd react-starterkit-api
$ yarn install
$ npm startnpm start- Start the app (it will automatically open http://localhost:3005 on your default browser). Add-soption to start the app in silent mode.npm run lint- Analyze the entire app and it will report possible syntax errors and warnings based on ESlint rules.npm run lint:watch- Same asnpm run lintbut this will run continuously and analyze the file as you save it.npm run build- Build the app for production. Output files are located in./distfolder.npm run prod- Start the app in production mode.
You might want to edit .env located in your app root directory.
General Settings
PORT- Default is3005
Dev Settings
OPEN_BROWSER_ON_START- Set toFALSEif you don't want your app to automatically open the default browser upon runningnpm start. Default isTRUE
alias: {
'~assets': 'src/assets',
'~bower': 'bower_components',
'~const': 'src/constants',
'~global': 'src/modules/_global',
'~modules': 'src/modules',
'~reducers': 'src/reducers',
'~utils': 'src/utils'
}Edit webpack.config.dev.js and webpack.config.prod.js to add or edit alias
- reactgen - React Component Generator