Skip to content

Commit 6849d0c

Browse files
committed
feat: reactv17
1 parent 01294a9 commit 6849d0c

File tree

1 file changed

+25
-41
lines changed

1 file changed

+25
-41
lines changed

README.md

Lines changed: 25 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,36 @@
1-
# Getting Started with Create React App
1+
# React-SPA
2+
[![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)
3+
[![npm-image](https://img.shields.io/npm/v/npm.svg?style=flat-square)](https://img.shields.io/npm/v/npm.svg?style=flat-square)
4+
[![download-image](https://img.shields.io/npm/dm/npm.svg?style=flat-square)](https://img.shields.io/npm/dm/npm.svg?style=flat-square)
25

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

5-
## Available Scripts
7+
## Features
68

7-
In the project directory, you can run:
9+
- React V17
10+
- Redux
11+
- React Router V4
12+
- Webpack 4.x
13+
- Mock
14+
- Eslint
815

9-
### `yarn start`
16+
## Getting Started
17+
Checkout this repo, install dependencies, then start the process with the following:
1018

11-
Runs the app in the development mode.\
12-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
19+
```
20+
git clone https://github.com/allan2coder/React-SPA.git
21+
cd React-SPA
22+
npm install
23+
npm start
24+
```
1325

14-
The page will reload if you make edits.\
15-
You will also see any lint errors in the console.
26+
## Build the app
1627

17-
### `yarn test`
18-
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.
21-
22-
### `yarn build`
23-
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.
26-
27-
The build is minified and the filenames include the hashes.\
28-
Your app is ready to be deployed!
29-
30-
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31-
32-
### `yarn eject`
33-
34-
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35-
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.
37-
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.
39-
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.
28+
```
29+
npm run build
30+
```
4131

4232
## Learn More
4333

44-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45-
46-
To learn React, check out the [React documentation](https://reactjs.org/).
47-
4834
### Code Splitting
4935

5036
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)
@@ -61,10 +47,8 @@ This section has moved here: [https://facebook.github.io/create-react-app/docs/m
6147

6248
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)
6349

64-
### Deployment
6550

66-
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
6751

68-
### `yarn build` fails to minify
52+
## License
6953

70-
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
54+
MIT

0 commit comments

Comments
 (0)