NickPriv / FryRankBackend

A back-end Java application allowing users to create and view reviews for french fries at restaurants
https://fryrank.oxyserver.com
0 stars 0 forks source link

Allowing restaurant retrieval by accountId rather than just by restaurantId #73

Closed NickPriv closed 1 month ago

NickPriv commented 1 month ago

The get restaurants endpoint can now either take a restaurant Id or account ID. This allows you to get all reviews for a certain account.

Later, when we enable usernames, we can add logic to fetch the accountId for the username and then make the DB call.