Commit graph

4 commits

Author SHA1 Message Date
Muhammad Nauman Raza a57b68891b feat(backend): websockets with player co-ordination and JWT auto-generation 2023-08-20 12:50:21 +01:00
Muhammad Nauman Raza 33f7ba8fcd feat(backend): use a more stylish logging system 2023-08-05 12:56:01 +01:00
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