Skip to content

Commit e67171e

Browse files
committed
Code for 1-starter-code
1 parent 6c1ed81 commit e67171e

24 files changed

+412
-331
lines changed

README.md

+24-52
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,40 @@
1-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
1+
<h1 align="center">
2+
<a href="https://ui.dev">
3+
<img
4+
src="https://ui.dev/images/logos/ui.png"
5+
alt="UI.dev Logo" width="300" />
6+
</a>
7+
<br />
8+
</h1>
29

3-
## Available Scripts
10+
<h3 align="center">React Router v5 Course Project - <a href="https://basketball-v5.ui.dev/">Hash History Basketball League</a></h3>
411

5-
In the project directory, you can run:
12+
### Info
613

7-
### `yarn start`
14+
This is the repository for [UI.dev](https://ui.dev)'s "React Router v5" course project.
815

9-
Runs the app in the development mode.<br />
10-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
16+
For more information on the course, visit __[ui.dev/react-router-v5](https://ui.dev/react-router-v5/)__.
1117

12-
The page will reload if you make edits.<br />
13-
You will also see any lint errors in the console.
18+
### Project
1419

15-
### `yarn test`
20+
This project is an app for a fictional Basketball league.
1621

17-
Launches the test runner in the interactive watch mode.<br />
18-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
22+
You can view the final project __[here](https://basketball-v5.ui.dev/)__
1923

20-
### `yarn build`
24+
### Branches
2125

22-
Builds the app for production to the `build` folder.<br />
23-
It correctly bundles React in production mode and optimizes the build for the best performance.
26+
Every `(Project)` video in the course coincides with a branch in this repo. If you want to compare your code with Tyler's or you just want to play around with the code, check out the different branches.
2427

25-
The build is minified and the filenames include the hashes.<br />
26-
Your app is ready to be deployed!
28+
Below every `(Project)` video in the course will be a direct link to both the commit for that video as well as its branch.
2729

28-
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
30+
<img align='center' src='https://user-images.githubusercontent.com/2933430/82761769-26e15180-9dba-11ea-9681-8b453d95c9fd.png' width='200' />
2931

30-
### `yarn eject`
32+
### Project Preview
3133

32-
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
34+
![](https://user-images.githubusercontent.com/2933430/82761753-f994a380-9db9-11ea-98af-922c37266d46.png)
3335

34-
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.
36+
![](https://user-images.githubusercontent.com/2933430/82761748-f7cae000-9db9-11ea-9cce-8e6ab5dcc2c7.png)
3537

36-
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.
38+
![](https://user-images.githubusercontent.com/2933430/82761747-f699b300-9db9-11ea-9e59-a79c65fd6536.png)
3739

38-
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.
39-
40-
## Learn More
41-
42-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
43-
44-
To learn React, check out the [React documentation](https://reactjs.org/).
45-
46-
### Code Splitting
47-
48-
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
49-
50-
### Analyzing the Bundle Size
51-
52-
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
53-
54-
### Making a Progressive Web App
55-
56-
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
57-
58-
### Advanced Configuration
59-
60-
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
61-
62-
### Deployment
63-
64-
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
65-
66-
### `yarn build` fails to minify
67-
68-
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
40+
![](https://user-images.githubusercontent.com/2933430/82761744-f39ec280-9db9-11ea-954d-33feb6bfc706.png)

package.json

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
{
2-
"name": "react-router-v5-course",
3-
"version": "0.1.0",
4-
"private": true,
2+
"name": "hash-history-basketball-league-v5",
3+
"version": "1.0.0",
54
"dependencies": {
6-
"@testing-library/jest-dom": "^4.2.4",
7-
"@testing-library/react": "^9.3.2",
8-
"@testing-library/user-event": "^7.1.2",
95
"react": "^16.13.1",
106
"react-dom": "^16.13.1",
117
"react-scripts": "3.4.1"
128
},
139
"scripts": {
1410
"start": "react-scripts start",
1511
"build": "react-scripts build",
16-
"test": "react-scripts test",
1712
"eject": "react-scripts eject"
1813
},
1914
"eslintConfig": {

public/_redirects

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* /index.html 200

public/favicon.ico

-1.95 KB
Binary file not shown.

public/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
manifest.json provides metadata used when your web app is installed on a
1515
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1616
-->
17-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
1817
<!--
1918
Notice the use of %PUBLIC_URL% in the tags above.
2019
It will be replaced with the URL of the `public` folder during the build.
@@ -24,7 +23,7 @@
2423
work correctly both with client-side routing and a non-root public URL.
2524
Learn how to configure a non-root public URL by running `npm run build`.
2625
-->
27-
<title>React App</title>
26+
<title>Hash History Basketball League</title>
2827
</head>
2928
<body>
3029
<noscript>You need to enable JavaScript to run this app.</noscript>

public/logo192.png

-5.22 KB
Binary file not shown.

public/logo512.png

-9.44 KB
Binary file not shown.

public/manifest.json

-25
This file was deleted.

src/App.css

-38
This file was deleted.

src/App.js

-26
This file was deleted.

src/App.test.js

-9
This file was deleted.

src/components/App.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import * as React from 'react'
2+
3+
export default function App () {
4+
return (
5+
<div>
6+
Hash History Basketball League
7+
</div>
8+
)
9+
}

0 commit comments

Comments
 (0)