You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lesson_10/README.md
+33-1Lines changed: 33 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,4 +10,36 @@ Please review the following resources before lecture:
10
10
11
11
## Homework
12
12
13
-
- TODO(anthonydmays): Finish this
13
+
-[ ] Complete [Loading the Media Collection](#loading-the-media-collection) assignment.
14
+
-[ ] Do pre-work for [lesson 11](/lesson_11/).
15
+
16
+
### Loading The Media Collection
17
+
18
+
For this assignment, you are tasked with writing code to load data from a set of CSV files.
19
+
20
+
* Use the example loader file at [libraries/src/loaders/anthony_mays_loader.ts][example-loader-file] to make your own unique copy of the loader.
21
+
* Implement the `loadMediaItems` method by loading the data from the [data/media_items.csv][media-items-file] file.
22
+
23
+
To try out the app with your loader, you can run the following command.
24
+
25
+
```bash
26
+
npm run compile
27
+
npm start -- --loader yourLoaderNameHere
28
+
```
29
+
30
+
Before submitting your work, be sure to run the tests.
31
+
32
+
```bash
33
+
npm run test
34
+
```
35
+
36
+
### Extra credit
37
+
38
+
For additional credit on this assignment, combine the credits with the media items you loaded by modifying the `loadData` method. You can test that you've loaded everything correctly by using this special command:
0 commit comments