feat(auth): add auth middleware

- refactored chat routes to use request.user instead of doing authentication in every route
This commit is contained in:
Anuraag Jain 2023-12-28 22:15:54 +02:00
parent 8370465796
commit a01b112f7f
5 changed files with 63 additions and 89 deletions

3
backend/.gitignore vendored
View file

@ -4,4 +4,5 @@ _old
uploads
.ipynb_checkpoints
*.db
_test
_test
Pipfile