Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 784 Bytes

features.md

File metadata and controls

12 lines (12 loc) · 784 Bytes
  1. create new user by pass unique username and password :optional -> image, last name, first name, email
  2. login with specific user by pass username, and password -> he will take token
  3. logout -> destroy the token you get it
  4. show all portraits that create
  5. can vote -> must have token (login before)
  6. disvote -> must have token (login before)
  7. can create new portrait by pass name, description, image -> must have token
  8. can update any data in portriat if he is the same user he create it by pass portrait id
  9. can create comment in any portrait (must login) by pass portrait id, and content
  10. show all comments in specific portrait by pass portrait id
  11. show all votes in specific portrait by pass portrait id
  12. can display specific portrait detials by it's id