NIAEFEUP / website-niaefeup-frontend

The frontend of the website for NIAEFEUP.
2 stars 0 forks source link

289 auth login page functionality #296

Closed AvilaAndre closed 2 hours ago

AvilaAndre commented 1 week ago

Closes #289

Performs the request to the backend to login, showing a message if it succeeds or not and redirecting to the landing page if it does.

This pull request also includes changes to the docker compose, due to requiring access to the localhost in a development environment to access the backend.

Screenshots

Review checklist

AvilaAndre commented 1 week ago

There are none of the remaining auth methods, there is a logout in the page /profile which validates the auth with the backend, something like that could be used to manage session on the frontend, however, I do not know which way would be more efficient and therefore I haven't started it in this PR.

MRita443 commented 1 day ago

@AvilaAndre Check linter pls ;(

MRita443 commented 1 day ago

While you're at it, can you remove version: '3' from docker-compose.yaml? It's deprecated