Skip to content

Commit b246c93

Browse files
author
Brad Traversy
committed
Initial commit
1 parent ef79cb4 commit b246c93

File tree

19 files changed

+16648
-167
lines changed

19 files changed

+16648
-167
lines changed

.eslintcache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"/Users/bradtraversy/dev/react-task-tracker/src/reportWebVitals.js":"1","/Users/bradtraversy/dev/react-task-tracker/src/App.js":"2","/Users/bradtraversy/dev/react-task-tracker/src/components/Header.js":"3","/Users/bradtraversy/dev/react-task-tracker/src/components/Button.js":"4","/Users/bradtraversy/dev/react-task-tracker/src/components/Tasks.js":"5","/Users/bradtraversy/dev/react-task-tracker/src/components/Task.js":"6","/Users/bradtraversy/dev/react-task-tracker/src/components/AddTask.js":"7","/Users/bradtraversy/dev/react-task-tracker/src/index.js":"8","/Users/bradtraversy/dev/react-task-tracker/src/components/About.js":"9","/Users/bradtraversy/dev/react-task-tracker/src/components/Footer.js":"10"},{"size":362,"mtime":1610825138835,"results":"11","hashOfConfig":"12"},{"size":2889,"mtime":1610833718586,"results":"13","hashOfConfig":"12"},{"size":700,"mtime":1610833877186,"results":"14","hashOfConfig":"12"},{"size":408,"mtime":1610827157046,"results":"15","hashOfConfig":"12"},{"size":259,"mtime":1610832243637,"results":"16","hashOfConfig":"12"},{"size":459,"mtime":1610829440832,"results":"17","hashOfConfig":"12"},{"size":1347,"mtime":1610830658166,"results":"18","hashOfConfig":"12"},{"size":500,"mtime":1610825138835,"results":"19","hashOfConfig":"12"},{"size":186,"mtime":1610833772371,"results":"20","hashOfConfig":"12"},{"size":203,"mtime":1610833786616,"results":"21","hashOfConfig":"12"},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1lhui7b",{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"26","messages":"27","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"30","messages":"31","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/bradtraversy/dev/react-task-tracker/src/reportWebVitals.js",[],"/Users/bradtraversy/dev/react-task-tracker/src/App.js",[],"/Users/bradtraversy/dev/react-task-tracker/src/components/Header.js",[],"/Users/bradtraversy/dev/react-task-tracker/src/components/Button.js",[],"/Users/bradtraversy/dev/react-task-tracker/src/components/Tasks.js",[],"/Users/bradtraversy/dev/react-task-tracker/src/components/Task.js",[],"/Users/bradtraversy/dev/react-task-tracker/src/components/AddTask.js",[],"/Users/bradtraversy/dev/react-task-tracker/src/index.js",[],"/Users/bradtraversy/dev/react-task-tracker/src/components/About.js",[],"/Users/bradtraversy/dev/react-task-tracker/src/components/Footer.js",[]]

README.md

Lines changed: 19 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,29 @@
1-
# Getting Started with Create React App
1+
# React Crash Course 2021 (Task Tracker App)
22

3-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3+
This is the project from the YouTube crash course. It includes the react ui as well as JSON-server for our mock backend
44

5-
## Available Scripts
5+
## Usage
66

7-
In the project directory, you can run:
7+
### Install dependencies
88

9-
### `yarn start`
9+
```
10+
npm install
11+
```
1012

11-
Runs the app in the development mode.\
12-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13+
### Run React dev server (http://localhost:3000)
1314

14-
The page will reload if you make edits.\
15-
You will also see any lint errors in the console.
15+
```
16+
npm start
17+
```
1618

17-
### `yarn test`
19+
### Run the JSON server (http://localhost:5000)
1820

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+
npm run server
23+
```
2124

22-
### `yarn build`
25+
### To build for production
2326

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.
41-
42-
## Learn More
43-
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-
48-
### Code Splitting
49-
50-
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)
51-
52-
### Analyzing the Bundle Size
53-
54-
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)
55-
56-
### Making a Progressive Web App
57-
58-
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)
59-
60-
### Advanced Configuration
61-
62-
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)
63-
64-
### Deployment
65-
66-
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67-
68-
### `yarn build` fails to minify
69-
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)
27+
```
28+
npm run build
29+
```

db.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"tasks": [
3+
{
4+
"id": 1,
5+
"text": "Doctors Appointment",
6+
"day": "Feb 5th at 2:30pm",
7+
"reminder": true
8+
},
9+
{
10+
"id": 2,
11+
"text": "Meeting at School",
12+
"day": "Feb 6th at 1:30pm",
13+
"reminder": true
14+
}
15+
]
16+
}

0 commit comments

Comments
 (0)