An open API service indexing awesome lists of open source software.

https://github.com/thedanielforum/react-boilerplate

Simple ReactJS SPA boilerplate/starting point. Already configured with routing and common libs like redux.
https://github.com/thedanielforum/react-boilerplate

boilterplate bootstrap react-redux react-router reactjs redux template-project

Last synced: 2 months ago
JSON representation

Simple ReactJS SPA boilerplate/starting point. Already configured with routing and common libs like redux.

Awesome Lists containing this project

README

        

# Please keep in mind that this structure is __*highly*__ opinionated!

[![CircleCI](https://circleci.com/gh/thedanielforum/react-boilerplate.svg?style=svg)](https://circleci.com/gh/thedanielforum/react-boilerplate)

This is usally the structure I use for `non server rendered` react applications.
I have used this structure for over a year in ten's of projects big & small and for me it has been working quite well, so this is why I have decided to publish it in the hopes that I can serve as a good starting point for other people as well.

If you have any questions or ideas for improvement please feel free to open a [issue](https://github.com/thedanielforum/react-boilerplate/issues).

### Batteries included 🔋⚡️
What what is installed and configured already in this boilterplate?
- [ReactJS](https://github.com/facebook/react) (duh 🤷‍♂️)
- [Redux](https://github.com/reduxjs/react-redux)
- [Redux Saga](https://github.com/redux-saga/redux-saga)
- [Redux Form](https://github.com/erikras/redux-form)
- [Lodash](https://github.com/lodash/lodash)
- [React intl](https://github.com/formatjs/react-intl)
- [React Router DOM](https://github.com/ReactTraining/react-router)
- [React toastify](https://github.com/fkhadra/react-toastify)
- [Reactstrap + Bootstrap 4](https://github.com/reactstrap/reactstrap)
- [Styled components](https://github.com/styled-components/styled-components)
- [Shortid](https://github.com/dylang/shortid)

---
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.

See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.

It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `npm run build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify