Ringtone app
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

REQUIREMENTS.md 3.6 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Requirements
  2. ## Authentication
  3. - As a client, I want to log in to the service.
  4. - [X] In the front-end, the client provides a username, and a password to request login to the back-end.
  5. - [X] In the back-end, the server processes the login request from the front-end.
  6. - As a client, I want to log out from the service.
  7. - [X] In the front-end, the client requests logout to the backend.
  8. - [X] In the back-end, the server processes the logout request from the front-end.
  9. ## Ringtone
  10. - As a client, I want to download a ringtone.
  11. - [ ] In the front-end, the client provides a ringtone ID to request a ringtone from the back-end.
  12. - [ ] In the back-end, the server sends the ringtone data to the front-end.
  13. - As a client, I want to browse ringtones.
  14. - [X] In the front-end, the client provides optional skip and take arguments to request multiple ringtones from the
  15. back-end.
  16. - [X] In the back-end, the server sends the ringtones to the front-end.
  17. - As a client, I want to view the ringtones made by a composer.
  18. - [ ] In the front-end, the client provides a composer's user ID and optional skip and take arguments to request
  19. multiple ringtones from the back-end.
  20. - [X] In the back-end, the server sends the ringtones to the front-end.
  21. ## Search
  22. - As a client, I want to search for ringtones.
  23. - [ ] In the front-end, the client requests provides a search keyword to request for ringtones from the back-end.
  24. - [ ] In the back-end, the server retrieves the ringtones whose name matches the search keyword provided by the
  25. front-end.
  26. - [X] The server must retrieve ringtones containing the search keywords in the name
  27. - Query `foo bar` must match names containing `foo` _or_ `bar`.
  28. - [ ] The server must retrieve ringtones with note data similar to the search keyword as melody
  29. - The server should match data `8c4 8d#5` and `4c5 4d#5` for the query `c d#`.
  30. - The search should ignore rests.
  31. - As a client, I want to search for composers.
  32. - [ ] In the front-end, the client requests provides a search keyword to request for composers from the back-end.
  33. - [X] In the back-end, the server retrieves the composers whose name matches the search keyword provided by the
  34. front-end.
  35. ## Composer
  36. - As a composer, I want to create a ringtone.
  37. - [X] In the front-end, the client inputs ringtone data to the view.
  38. - [X] In the front-end, the client sends the ringtone data to the back-end.
  39. - [X] In the back-end, the server stores the ringtone data.
  40. - As a composer, I want to update a ringtone.
  41. - [X] In the front-end, the client modifies the ringtone data retrieved from the back-end and loaded on the view.
  42. - [X] In the front-end, the client sends the ringtone data to the back-end.
  43. - [X] In the back-end, the server stores the updated ringtone data.
  44. - As a composer, I want to soft-delete a ringtone.
  45. - [ ] In the front-end, the client provides a ringtone ID to request a ringtone's soft deletion to the back-end.
  46. - [X] In the back-end, the server tags a ringtone as deleted if its ID matches the one provided by the front-end.
  47. - As a composer, I want to undo deletion of a soft-deleted ringtone.
  48. - [ ] In the front-end, the client provides a ringtone ID to request a ringtone's deletion rollback to the back-end.
  49. - [X] In the back-end, the server untags a ringtone as deleted if its ID matches the one provided by the front-end.
  50. - As a composer, I want to hard-delete of a ringtone.
  51. - [ ] In the front-end, the client provides a ringtone ID to request a ringtone's deletion rollback to the back-end.
  52. - [X] In the back-end, the server removes a ringtone in the database if its ID matches the one provided by the
  53. front-end.