https://github.com/0plus1/create-react-app-starter
React - Router - Redux - AirBnB eslint
https://github.com/0plus1/create-react-app-starter
Last synced: 12 months ago
JSON representation
React - Router - Redux - AirBnB eslint
- Host: GitHub
- URL: https://github.com/0plus1/create-react-app-starter
- Owner: 0plus1
- Created: 2019-09-18T00:13:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T10:39:27.000Z (over 3 years ago)
- Last Synced: 2025-07-10T17:19:37.299Z (12 months ago)
- Language: JavaScript
- Size: 2.42 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Create React App Starter
A highly opinionated react starter using CRA.
This repository is a base template for your own application.
The idea is to have a basic stub of all the moving part of a react + redux application, so you can jump in straight away and start coding your own application.
### Install
```
TODO
```
### Rationale
Why prop-types and not typescript?
```
TODO
```
### Stubs
In this template you will find several pre-configured stubs:
#### react-router
* Router parameters
* prop-types validation
#### react-redux
* Example actions and reducers
* Complex exports with chained HOC
#### axios
* axios abstraction with interceptors for HTTP status codes
### Coding guidelines
#### Naming conventions
* Files containing JSX should be capitalised
* Folder names should be lowercase
#### Folder stucture
* _views_ contains all the router views
* _components_ contains all the components, big components should be placed in an individual folder with a index.js entry point.
#### Linting
Do not disable rules.
### Includes
* [Create React App](https://github.com/facebook/create-react-app)
* [React router](https://reacttraining.com/react-router/web/guides/quick-start)
#### Linters
* [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript)
* [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest)
#### Tests
* [Enzyme](https://airbnb.io/enzyme)
#### Extra
* [env-cmd](https://github.com/toddbluhm/env-cmd)
* [404 page by John Fink](https://gist.github.com/ilhamgusti/51c014c4691eb0284d43f597637756e0)
* [jsonplaceholder](https://jsonplaceholder.typicode.com/)