For this delivery, my work has consisted in adding details to make the application shine
User
Reworked User Handling:
Transitioned from using context to cookies for managing user sessions.
Access Restrictions:
Secured the web app to require user registration or login to access all routes, except:
/home
/login
/adduser
Implemented token-based authentication for certain endpoints, with tokens issued upon registration or login.
Added Email to Users:
Allows logging in with a username or email and other functionalities.
Testing:
Unit tests for all new components and past ones with conflicts.
End-to-end (e2e) tests for build and deploy pipelines.
These updates are detailed in issue #88, and the commits can be seen on the associated branch.
Questions and Ranking
With the help of @uo289267:
Questions Customization:
Increased the number of endpoints to ask for a specific type and number of questions.
Ranking:
A top-10 endpoint retrieves the top 10 players based on points.
An endpoint to retrieve information on a specific user.
Webapp:
Fixed how the new endpoints were called.
Modified the view.
Fixed and tested the ranking's search functionality.
These updates are detailed in issue #83, and the commits can be seen on the associated branch.
Play as Guest
Alongside @uo289267, the "play as guest" functionality was implemented by unrestricting parts in the web app and backend. These updates are detailed in issue #120, and the commits can be seen on the associated branch.
Forget Password
Backend:
New endpoints in the backend to:
Send emails with codes.
Get a token from a code.
Change the password with a token.
Webapp:
With the help of @uo289267, created views to call the new backend endpoints.
These updates are detailed in issue #132, and the commits can be seen on the associated branch.
Variety
Open API Documentation:
Assisted @ErdemYabaci with API documentation (see issues #105 and #123).
Tests:
Assisted @lauratbg and @uo289267 with front-end tests, both unit and e2e.
For this delivery, my work has consisted in adding details to make the application shine
User
Reworked User Handling:
Access Restrictions:
/home
/login
/adduser
Added Email to Users:
Testing:
These updates are detailed in issue #88, and the commits can be seen on the associated branch.
Questions and Ranking
With the help of @uo289267:
Questions Customization:
Ranking:
Webapp:
These updates are detailed in issue #83, and the commits can be seen on the associated branch.
Play as Guest
Alongside @uo289267, the "play as guest" functionality was implemented by unrestricting parts in the web app and backend. These updates are detailed in issue #120, and the commits can be seen on the associated branch.
Forget Password
Backend:
Webapp:
These updates are detailed in issue #132, and the commits can be seen on the associated branch.
Variety
Open API Documentation:
Tests:
URL: