Create a brand new reactjs with redux template project
I was tired of building a structure of a project from scratch, so I've built this script to produce a base structure of a reactjs project with redux
A react-js project structure with redux and a simple working example that can be built using webpack. Includes history navigation with redux.
chmod 755 ./create-reactjs-webpack-project.sh
./create-reactjs-webpack-project.sh [NEW-PROJECT-DIR]
at project directory, run:
yarn start
#open your browser at http://localhost:8080/
yarn build-prod #prod
or
yarn build-dev #dev
./_root
#before run script
./create-reactjs-webpack-project.sh
#before run script
actions: src/store
epics: src/store/epics
middlewares: src/store/middlewares
reducers: src/store/reducers
Initial bash script is optimized for macosx environment.
If you want to run on other platforms you may give a try but it's not tested! In these cases, the script may need slightly changes on seed commands and eventually at print functions.