GeekyYouthsInfo / Deep-Learning-Cataract-Detection

Academic: Deep learning-based mobile app to accurately identify the presence and severity of cataracts, enabling early diagnosis and treatment.
0 stars 1 forks source link

User authentication backend (Django) #21

Closed Dejezi closed 2 months ago

Dejezi commented 2 months ago

The custom model for users has been created. The email, username and password being the key fields. View (interfaces) as well as the corresponding endpoints/ URLs have also been defined waiting to be called on by the frontend. Possible errors may include: Faulty endpoints-- To be solved during integration testing

2nd Commit-- Debugged with attached screenshots of API tests and responses The APIs include; Sign up-- {{BaseBackendUrl}}/api/accounts/register/ Consists of three required fields titled: [username] [email] [password] all STRING format Sign in-- {{BaseBackendUrl}}/api/accounts/login/ Consists of two required fields titled [email] [password] all STRING format

Invalid credentials Register blank Register registration no-data Registration success Sign in