Commit Graph

8 Commits

Author SHA1 Message Date
raul 1205572f1e
Allow adding users to database 2024-12-10 11:36:25 +01:00
raul 2093e60d4f
Fix SQL injection in /api/user/:id endpoint 2024-12-10 10:22:06 +01:00
raul 2d70d013ce
Handle requests for non-existing users 2024-12-09 17:58:26 +01:00
raul 8a7202ffd7
Add password field for students and teachers 2024-12-09 17:58:00 +01:00
raul 2ab9b83b43
Allow querying a single user by ID 2024-12-09 17:21:03 +01:00
raul 37444f6e9b
Allow querying all students from database 2024-12-09 10:42:31 +01:00
raul 699547584d
Configure Gin and tinker with DB comms
Added a handler for adding new users to Postgres through a POST
request
2024-12-06 13:55:01 +01:00
raul 87928b8bca
Add webserver files 2024-12-06 10:38:37 +01:00