This project will be part of our new Quality Assurance and Information Security section. It was designed by @JosephLivengood.
The goal is for campers to be able to build these projects step by step following user stories. This will make the projects less intimidating and more fun. Oh, and donât worry - weâll still have plenty of optional projects where we donât provide you with any tests. And if youâve previously built these projects, you donât need to build them again.
If youâre interested in attempting this, please reply to the thread and let us know youâve started it. The more people who want to build this, the better, as we can start gathering feedback.
Thanks, and happy coding!
User Stories
- Nothing from my website will be cached in my client.
- The headers will say that the site is powered by âPHP 4.2.0â even though it isnât (as a security measure).
- I can post a title to /api/books to add a book and returned will be the object with the title and a unique _id.
- I can get /api/books to retrieve an array of all books containing title, _id, & commentcount.
- I can get /api/books/{_id} to retrieve a single object of a book containing title, _id, & an array of comments (empty array if no comments present).
- I can post a comment to /api/books/{_id} to add a comment to a book and returned will be the books object similar to get /api/books/{_id} including the new comment.
- I can delete /api/books/{_id} to delete a book from the collection. Returned will be âdelete successfulâ if successful.
- If I try to request a book that doesnât exist I will be returned âno book existsâ.
- I can send a delete request to /api/books to delete all books in the database. Returned will be âcomplete delete successfulâ if successful.
- All 6 functional tests required are complete and passing.
Passing prototype built on boilerplate: https://gomix.com/#!/project/spark-cathedral
Boilerplate: https://gomix.com/#!/project/fcc-library
Tester(ISQA_1-Personal Library): https://pricey-hugger.gomix.me/