-
Notifications
You must be signed in to change notification settings - Fork 5
Development Strategy Application
Anthony Meirlaen edited this page Oct 17, 2021
·
2 revisions
As any type of user, I want to see the logo of the application, so that I could identify your service.
see https://github.com/IrinaSing/Readeer/issues/6
- Create a new page that displays the books call search-list (
pages/search-list/index.js) - Create a Books component
- The component renders a list of Book components
- If you click on a book you are redirected to the book page
see https://github.com/IrinaSing/Readeer#book-operations on how to make the appropriate call to the backend.
- Use or create a Search component
- Support the fields title, author, and location
- parse the user user
{query}to the mongo filter for a title that the backend supports.- the backend should do a fuzzy search with the
query
- the backend should do a fuzzy search with the
- parse user input
author:{query}to the mongo filter for the author that the backend supports - parse user input
title:{query}to the mongo filter for title that the backend supports - parse user input
city:{query}to the mongo filter for city that the backend supports
- parse the user user
- You make the search call to the backend after pressing the search button.
- After a search you are redirected to the books page with the appropriate filter
see https://github.com/IrinaSing/Readeer/pull/14#pullrequestreview-781436354 on how to make the appropriate calls to the backend.
- Create a new page for registration (
pages/registration/index.js) - Create a Registration component
- After a successful registration go to the log in page.
see https://github.com/IrinaSing/Readeer#registration on how to make the appropriate calls
- Create a new page for login (
pages/login/index.js) - Create a Login component
- After a successful login store the token in the
statevariable.- and you are redirected to the home page
see https://github.com/IrinaSing/Readeer#login on how to make appropriate backend calls
- Create a component
BookDetail- Renders the details of a book
- Renders/creates the
OwnersListcomponent when the User is logged in.- Show the people that offer the book.
- Fetch the appropriate data from https://github.com/IrinaSing/Readeer#getting-information-about-a-specific-book
- Add a button to the
OwnersListcomponent that allows you to email the owner of the book.