Skip to content

Development Strategy Application

Anthony Meirlaen edited this page Oct 17, 2021 · 2 revisions

Must-haves

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

As a user I can see all available books

  • 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.

As a user, I want to search for books that I want to take from other users.

  • 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
    • 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
  • 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.

As a user, I want to register for application

  • 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

As a user, I want to log in to the application. So I can adjust my profile.

  • Create a new page for login (pages/login/index.js)
  • Create a Login component
  • After a successful login store the token in the state variable.
    • and you are redirected to the home page

see https://github.com/IrinaSing/Readeer#login on how to make appropriate backend calls

As a user, I want to see the details (title, writer etc. )of the books

As a user, I want to contact other users to exchange books or take a book.

  • Add a button to the OwnersList component that allows you to email the owner of the book.

Clone this wiki locally