n30w / Darkspace

Academic project management platform for SE-2024
MIT License
0 stars 0 forks source link

Create login page and login logic #26

Closed n30w closed 5 months ago

n30w commented 5 months ago

Create a login page, then add login logic, like logging in as a user or creating a new user. Use appropriate API routes for the login actions, such as /v1/user/create, etc. Please account for any extraneous errors, such as a user with a wrong password or a non-existent account.

The login payload should contain the username and password. Assume the backend will return correct data every time.