Skip to content

Commit e641baf

Browse files
committed
chore: adds assignment instructions
1 parent 8e3a7ba commit e641baf

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

lesson_10/README.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,36 @@ Please review the following resources before lecture:
1010

1111
## Homework
1212

13-
TODO(anthonydmays): Complete 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:
39+
40+
```bash
41+
LOADER_NAME=yourLoaderNameHere npm run test
42+
```
43+
44+
[example-loader-file]: ./libraries/src/loaders/anthony_mays_loader.ts
45+
[media-items-file]: ./libraries/data/media_items.csv

0 commit comments

Comments
 (0)