Skip to content

ejbp/create-reactjs-with-redux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

create-reactjs-with-redux

Create a brand new reactjs with redux template project

motivation

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

what you'll get?

A react-js project structure with redux and a simple working example that can be built using webpack. Includes history navigation with redux.

setup

chmod 755 ./create-reactjs-webpack-project.sh 

create a Project

./create-reactjs-webpack-project.sh [NEW-PROJECT-DIR]

run

at project directory, run:

yarn start
#open your browser at http://localhost:8080/

build

yarn build-prod #prod

or

yarn build-dev #dev

check or customize project structure at

./_root #before run script

check or customize initial modules install at

./create-reactjs-webpack-project.sh #before run script

Project sample structure

UI

Redux

actions: src/store

epics: src/store/epics

middlewares: src/store/middlewares

reducers: src/store/reducers

notes

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.

About

Create a brand new reactjs with redux template project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published