Commit Graph

44 Commits

Author SHA1 Message Date
bb735afe33 add filters for each table 2023-02-01 23:52:04 -03:00
dbad5ed64b separate the auth routes from the user routes 2023-02-01 23:52:03 -03:00
071ba0a986 add limits to list endpoints 2023-02-01 23:52:03 -03:00
41d5fc2d4b add update and delete endpoints to game controller and router 2023-02-01 23:52:03 -03:00
6ea3e89741 reorganize controllers 2023-02-01 23:52:03 -03:00
e7bed8124c don't join the other tables, let the client ask the API in the other endpoints 2023-02-01 23:52:03 -03:00
3f931f5ef8 simplify the game controller 2023-02-01 23:52:03 -03:00
038eefa72a add object routes 2023-02-01 23:52:03 -03:00
4042e28939 add object state routes 2023-02-01 23:52:03 -03:00
162fbd0404 add object name routes 2023-02-01 23:52:03 -03:00
88af722686 add godot version routes 2023-02-01 23:52:03 -03:00
8f1f18de8b add frame routes 2023-02-01 23:52:03 -03:00
9ebce5f1d9 make game and user use the same structure for all of its endpoints 2023-02-01 23:52:03 -03:00
e2f3a26c88 fix incorrect variable name 2023-02-01 23:52:03 -03:00
8caec6a46d protect the player endpoints behind authentication 2023-02-01 23:52:03 -03:00
48cd36d0a8 add level routes 2023-02-01 23:52:03 -03:00
ffb82c9db6 add vite preview port 2023-01-31 23:44:34 -03:00
2749da6df9 add cors allow methods and headers 2023-01-31 23:35:13 -03:00
1bd42249ce run the next middleware in the chain 2023-01-31 23:23:03 -03:00
0f3cbd6f05 add cors middleware 2023-01-31 23:12:05 -03:00
b2000331ce fix player endpoints 2023-01-31 23:12:05 -03:00
69cc898fd7 add player routes 2023-01-31 23:12:05 -03:00
9cc410006a gofmt format fixes 2023-01-31 23:10:19 -03:00
00b620f229 use json instead of form body 2023-01-31 23:10:19 -03:00
7c3e6e5809 extend the token lifetime 2023-01-31 23:10:18 -03:00
4d2e91e48c fix controllers used in OS routes 2023-01-31 23:10:18 -03:00
4d198eef62 add os routes and conterollers 2023-01-31 23:10:18 -03:00
81e32aad29 rename the env example file so it isn't hidden 2023-01-31 23:10:18 -03:00
505fce9848 improve http status responses and funcion names in game controller 2023-01-31 23:10:18 -03:00
489e5e60b9 improve user controller http responses and error checking 2023-01-31 23:10:18 -03:00
b9b88eaf0e organize user routes 2023-01-31 23:10:18 -03:00
c4880480ec update dependency versions 2023-01-31 23:10:18 -03:00
b8517235db
don't check for player if RUT is empty and allow null player id with pointer 2022-09-22 16:37:37 -03:00
dd69e43bcd
make player option for anonymous statistics collecting 2022-09-22 15:48:10 -03:00
1954109fc9
update to Go 1.18.5 2022-08-12 15:41:51 -04:00
bbc6bb7d6b
change module url 2022-07-22 23:00:31 -04:00
ea62424f7f
update dependencies 2022-07-22 22:38:34 -04:00
84442e791a
update other golang 1.18.3 reference to 1.18.4 2022-07-22 22:34:09 -04:00
3f03808002
update to go 1.18.4 2022-07-22 22:30:19 -04:00
067f63496a
remove hard code username and email 2022-07-22 22:26:08 -04:00
ddc3ffe488
fix invalid key expecting bytes instead of string 2022-07-22 22:19:52 -04:00
4b26d6f0a5
update docker file to load .env 2022-07-22 22:17:57 -04:00
0f14fa8faf
add missing error handling 2022-07-22 22:17:29 -04:00
e7559f0bf1
First commit 2022-06-29 21:26:05 -04:00