Skip to content

Commit 48123dd

Browse files
committed
rebuild init
1 parent 8d71024 commit 48123dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+6863
-16571
lines changed

.eslintrc

-10
This file was deleted.

LICENSE

-21
This file was deleted.

README.md

+26-37
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,46 @@
1-
# React-SPA
1+
# Getting Started with Create React App and Redux
22

3-
React spa based on create-react-app.
3+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app), using the [Redux](https://redux.js.org/) and [Redux Toolkit](https://redux-toolkit.js.org/) template.
44

5-
[![node-image](https://img.shields.io/badge/node.js-%3E=_4.0-green.svg?style=flat-square)](https://img.shields.io/badge/node.js-%3E=_4.0-green.svg?style=flat-square)
6-
[![npm-image](https://img.shields.io/npm/v/npm.svg?style=flat-square)](https://img.shields.io/npm/v/npm.svg?style=flat-square)
7-
[![download-image](https://img.shields.io/npm/dm/npm.svg?style=flat-square)](https://img.shields.io/npm/dm/npm.svg?style=flat-square)
5+
## Available Scripts
86

7+
In the project directory, you can run:
98

10-
## Features
9+
### `npm start`
1110

12-
- React V17
13-
- Redux
14-
- React Router V4
15-
- Webpack 4.x
16-
- Mock
17-
- Eslint
11+
Runs the app in the development mode.\
12+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
1813

19-
## Getting Started
20-
Checkout this repo, install dependencies, then start the process with the following:
14+
The page will reload when you make changes.\
15+
You may also see any lint errors in the console.
2116

22-
```
23-
git clone https://github.com/allan2coder/React-SPA.git
24-
cd React-SPA
25-
npm install
26-
npm start
27-
```
17+
### `npm test`
2818

29-
## Build the app
19+
Launches the test runner in the interactive watch mode.\
20+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
3021

31-
```
32-
npm run build
33-
```
22+
### `npm run build`
3423

35-
## Learn More
36-
37-
### Code Splitting
24+
Builds the app for production to the `build` folder.\
25+
It correctly bundles React in production mode and optimizes the build for the best performance.
3826

39-
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
27+
The build is minified and the filenames include the hashes.\
28+
Your app is ready to be deployed!
4029

41-
### Analyzing the Bundle Size
30+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
4231

43-
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
32+
### `npm run eject`
4433

45-
### Making a Progressive Web App
34+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
4635

47-
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
36+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
4837

49-
### Advanced Configuration
50-
51-
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
38+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
5239

40+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
5341

42+
## Learn More
5443

55-
## License
44+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
5645

57-
MIT
46+
To learn React, check out the [React documentation](https://reactjs.org/).

config/env.js

-106
This file was deleted.

config/getHttpsConfig.js

-66
This file was deleted.

config/jest/babelTransform.js

-29
This file was deleted.

config/jest/cssTransform.js

-14
This file was deleted.

config/jest/fileTransform.js

-40
This file was deleted.

0 commit comments

Comments
 (0)