valentinagal / CellarApp

0 stars 0 forks source link

Repository and API endpoints #7

Open valentinagal opened 1 year ago

valentinagal commented 1 year ago

Identify necessary operations

User: Log in, Log out, Registration

Wine: Add, GetAll, Get, Edit, Delete

Tags: Add, GetAll, Get, Edit, Delete

CRUD

User: 'POST/users' 'POST/users/login'

Wine: 'POST/wines', 'GET/wines', 'GET/wines/{id}', 'PUT/wines/{id}', 'DELETE/wines/{id}'

Tags: 'POST/tags', 'GET/tags', 'GET/tags/{id}', 'PUT/tags/{id}', 'DELETE/tages/{id}'

Identify status codes

200 OK 404 Not found

Security

Plan for pagination, Sorting, Filtering

Don't have yet.

valentinagal commented 1 year ago

Image