Currently, there's a lot of repetition in the project
Complete the following to reduce repetition and code duplication
- Create a handler for Errors
- Password hashing is redundant while adding new user and updating the user
- Signing out logic is duplicated in delete user(to remove the JWT cookie)
Currently, there's a lot of repetition in the project
Complete the following to reduce repetition and code duplication