This scaffolding is to help lay the foundatation for large scalable front end applications, using:
- React
- Redux
- Duck Pattern
- Webpack
- Path resolution
- Code-splitting
- Hot Module Reloading (Dev server)
- BlueprintJS (UI Component Library)
- SASS Modules
- JWT Middleware
- AWS
- S3
The idea is to clone the repo, and get started on development right away, with room to grow your application the right way without having to refactor or reorganize your file structure down the road.
- First clone the repository:
git@github.com:malechite/react-app-scaffolding.git
- Change directories:
cd react-app-scaffolding
- Install Dependencies:
yarn install
- Start the dev server:
yarn start
- go to http://localhost:8080/ in your browser
To build react-app-scaffolding run yarn build
- This will empty the /dist
folder and webpack will build new artifacts.
You can deploy to S3 from the command line:
- Copy
bin/config.example.js
tobin/config.js
- Update the
bin/config.js
file with your AWS credentials. (AWS credentials are used to deploy to S3 only, and aren't required for development)
yarn deploy-dev
deploys to the bucket set fordevelopment
yarn deploy-qa
depploys tostaging
yarn deploy-prod
deploys toproduction
react-app-scaffolding uses the following libraries and dependencies: