Commit graph

2 commits

Author SHA1 Message Date
Abdulmujeeb Raji e08adc96ae feat(backend): Create Users and Get JWT
Introducing a unified signup and login API. You can post to the /user
route with credentials (so far just name and password), and if the user
doesn't exist, we create the user and return a token. If the user does
exist, if the password inputted matches the database password, we return
a token for that user, else we return an error.

i've never wanted to kms more during a programming session
2023-07-26 21:16:25 +01:00
Abdulmujeeb Raji 5ad18b9027 chore: initialise backend
This won't be touched until a basic player prototype is implemented.
The backend itself is implemented in Go.
2023-07-20 16:17:24 +01:00