https://github.com/kasongoyo/reactappboilerplate
Boilerplate app for reactjs
https://github.com/kasongoyo/reactappboilerplate
boilerplate react reactjs redux storybook
Last synced: 3 months ago
JSON representation
Boilerplate app for reactjs
- Host: GitHub
- URL: https://github.com/kasongoyo/reactappboilerplate
- Owner: kasongoyo
- Created: 2018-01-16T04:02:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-02T06:18:34.000Z (about 7 years ago)
- Last Synced: 2025-01-11T02:29:10.404Z (5 months ago)
- Topics: boilerplate, react, reactjs, redux, storybook
- Language: JavaScript
- Size: 154 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React App Boilerplate
This is the base template for react app project. It has out of box integration with
- [Redux](https://redux.js.org/)
- [React route](https://reacttraining.com/react-router/)
- [storybook](https://storybook.js.org/)## Project Structure
```
.
├── README.md
├── config
│ ├── jest
│ ├── polyfills.js
│ ├── webpack.config.dev.js
│ └── webpack.config.prod.js
├── development.js
├── package.json
├── production.js
├── public
│ ├── images
│ └── index.html
├── src
│ ├── actions
│ ├── api
│ ├── components
│ ├── index.js
│ ├── reducers
│ ├── setupTests.js
│ ├── site.css
│ └── store.js
├── yarn.lock
└── storybook-server.js```
- `development.js`
Server in dev environment
- `production.js`
Server in production environment
- `config/webpack.config.dev.js`
Webpack development configuration
- `config/webpack.config.prod.js`
Webpack production configuration## Usage
> **First install all the dependencies for development**
```sh
yarn install && bower install
```> **Launch application in development mode**
```sh
yarn run dev
```> **Testing Application**
```sh
yarn run test
```> **Build application**
```sh
yarn run build
```> **Run application**
```sh
yarn run start
```> **Extras**
- Best fix of `yarn.lock` merge conflict
```
$ git checkout -- yarn.lock
$ yarn run install
```