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.
What what is installed and configured already in this boilterplate?
- ReactJS (duh 🤷♂️)
- Redux
- Redux Saga
- Redux Form
- Lodash
- React intl
- React Router DOM
- React toastify
- Reactstrap + Bootstrap 4
- Styled components
- Shortid
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open 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.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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 for more information.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify