Demo Blog App utilizing:
- React
- Redux
- Duck Pattern
- Webpack
- Path resolution
- Code-splitting
- Hot Module Reloading (Dev server)
- BlueprintJS (UI Component Library)
- SASS Modules
- JWT Middleware
- AWS
- S3
- First clone the repository:
[email protected]:miasua/demo-react-app-blog.git
- Change directories:
cd demo-react-app-blog
- 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