issues
search
ansopedia
/
user-service
The Ansopedia User Service is a backend service responsible for managing user accounts and authentication within the Ansopedia learning platform. It provides functionalities like authentication & authorization, profile management.
MIT License
5
stars
4
forks
source link
41 update login api
#43
Closed
sanjaysah101
closed
2 months ago
sanjaysah101
commented
2 months ago
improve error handling for login and add tests
Implement proper error handling for incorrect email/username or password.
Provide meaningful error messages in the API responses.
Add unit and integration tests to validate the new login behaviour.
Update test script in Package.Json
refactor and enhance auth and permission test cases
Create utility functions for better readability in auth, OTP, permission, and user tests.
Remove unnecessary test files (e.g., mongodb.test.js, errorHandler.test.js).
Add utils files (auth.utils.ts, otp.utils.ts, permission.utils.ts, user.utils.ts) under utils/test directory.
39, #41
39, #41