issues
search
halkszavu
/
Project-Rossini
A repository for a recipe database.
0
stars
0
forks
source link
Controller for dishes
#16
Closed
halkszavu
closed
9 months ago
halkszavu
commented
9 months ago
A controller for getting and creating new dishes.
halkszavu
commented
9 months ago
GET /dishes : gets all the dishes in the database
GET /dishes/{id} : gets the dish with a given Id
GET /dishes/name/{name} : gets the dish with a given name
halkszavu
commented
9 months ago
PUT /dishes : creates a new dish with a given name and user
DELETE /dishes/{id}/{userName} : deletes the dish if it is possible
halkszavu
commented
9 months ago
17 Fixed, now it is working correctly
A controller for getting and creating new dishes.