vincentporte / fastapi_sqlachemy2_async

FastAPI x sqlAlchemy 2 x postgresql, async mode
MIT License
2 stars 0 forks source link

[USERS] improve model & routes #4

Closed vincentporte closed 1 year ago

vincentporte commented 1 year ago

Description

🎸 Uses dependencies to validate user id in routes 🎸 Manages IntegrityError when creating or updating with duplicated email 🎸 Add update and delete routes 🎸 Add HTTP Exceptions

Type of change

🎢 New feature (non-breaking change which adds functionality)

Checklist:

Todo

🦺 Manage duplicated email with dependencies 🦺 Add authorization on routes