From efde52466d7112c4e1ae5a7ed8302e57ac2374fa Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Wed, 17 Apr 2019 16:36:18 -0400 Subject: [PATCH] Update README.md --- day2/homework/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/day2/homework/README.md b/day2/homework/README.md index df2a4d0..8981ea5 100644 --- a/day2/homework/README.md +++ b/day2/homework/README.md @@ -2,7 +2,9 @@ Finish [today's labs](../student_labs/) -As a stretch, once the labs are complete, implement a show route (`find()`) for People (`/people/:id`), Locations (`/locations/:id`), Companies (`/companies/:id`). Each route should return JSON to the client for only the specified person, location, or company in the DB. For example, a call to `/locations/1` would return something like: +## Stretch + +Once the labs are complete, implement a show route (`find()`) for People (`/people/:id`), Locations (`/locations/:id`), Companies (`/companies/:id`). Each route should return JSON to the client for only the specified person, location, or company in the DB. For example, a call to `/locations/1` would return something like: ```JSON { @@ -37,3 +39,7 @@ This is different from the index route we wrote in lecture which returns all spe } ] ``` + +## Super Stretch + +Add an angular front end. Just drop your files wherever and reference them normally. For instance if you had `index.html` in the root of the project, you can get to it via http://localhost:8888/index.html `app.js` would be `http://localhost:8888/app.js`.