raul
|
f6c6bf28e7
|
Check if user exists before processing PUT/DELETE
|
2024-12-12 12:56:01 +01:00 |
raul
|
6014213036
|
Allow modifying users via PUT
I finally finished the CRUD for the users! Only like, 4 more CRUDs to
go...
|
2024-12-12 12:34:54 +01:00 |
raul
|
aebdb733a8
|
Add endpoint for health checking the server (ping)
|
2024-12-12 11:29:46 +01:00 |
raul
|
304eb928eb
|
Check if ID is valid number before processing
|
2024-12-12 11:25:22 +01:00 |
raul
|
da654e571b
|
Add DELETE endpoint for deleting users from db
I also finished converting the rest of the server responses to JSON
|
2024-12-11 18:10:25 +01:00 |
raul
|
b673009635
|
Show whether request was successful or not via json
|
2024-12-11 12:36:02 +01:00 |
raul
|
e13e9e2019
|
Merge teachers and students into one table
Using the AccountType attribute to store the user type
|
2024-12-10 13:52:59 +01:00 |
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 |