Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 814 Bytes

notes.md

File metadata and controls

68 lines (42 loc) · 814 Bytes

Notes

  • prevent access to endpoints that should not be public

User

Can:
    - create
    - register

an authenticated account as a `passportHolder`

Registration:

* unique `username` - String

* strong `password` - String

* a `name` - String

* a valid `city` - String

* a valid and unique `email` - String



Authenticated passportHolder:

Can:
    - read
    - update
    - delete

`beenThere` restaurants from a `passport` (a list of all restaurants that they have visited)

"Been There" info:

* `restaurantName` - String

* `streetAddress` - String

* `city` - String

* `zipcode` - String

* `phoneNumber` - String

* `websiteURL` - String/URL

* `myRating` (1 thru 5) - Int

* `notes` - String

* `stamped` - Boolean