Commit Graph

39 Commits

Author SHA1 Message Date
e4b760c384 don't join the other tables, let the client ask the API in the other endpoints 2023-02-01 14:31:40 -03:00
9fbc414138 simplify the game controller 2023-02-01 14:30:41 -03:00
6be49aa11b add object routes 2023-02-01 13:31:15 -03:00
fe8c80b1a4 add object state routes 2023-02-01 13:19:19 -03:00
78fe19c2bf add object name routes 2023-02-01 13:18:52 -03:00
ec3ea08187 add godot version routes 2023-02-01 13:08:28 -03:00
4af5e9b621 add frame routes 2023-02-01 13:04:46 -03:00
fcf6a91257 make game and user use the same structure for all of its endpoints 2023-02-01 12:52:26 -03:00
fea0ce3d04 fix incorrect variable name 2023-02-01 12:49:14 -03:00
1c7c220944 protect the player endpoints behind authentication 2023-02-01 12:48:52 -03:00
8d05935bf3 add level routes 2023-02-01 12:48:23 -03:00
eb490c8b21 add vite preview port 2023-01-31 23:39:05 -03:00
523af1b0cb add cors allow methods and headers 2023-01-31 23:34:04 -03:00
b0379d1219 run the next middleware in the chain 2023-01-31 23:22:13 -03:00
2ed4b14cf1 add cors middleware 2023-01-31 23:06:45 -03:00
5fa4d4e78a fix player endpoints 2023-01-31 23:06:26 -03:00
e06427a041 add player routes 2023-01-31 09:35:56 -03:00
031d97fb2a gofmt format fixes 2023-01-30 09:35:43 -03:00
ff98ddf6da use json instead of form body 2023-01-30 09:33:59 -03:00
971d4a28f5 extend the token lifetime 2023-01-28 20:59:53 -03:00
49dbe22df7 fix controllers used in OS routes 2023-01-28 20:54:12 -03:00
ca66e18811 add os routes and conterollers 2023-01-28 20:48:56 -03:00
b553d1389c rename the env example file so it isn't hidden 2023-01-28 00:46:51 -03:00
46189c7376 improve http status responses and funcion names in game controller 2023-01-28 00:04:17 -03:00
495f9bd2d5 improve user controller http responses and error checking 2023-01-27 23:51:40 -03:00
73202113b6 organize user routes 2023-01-27 23:51:05 -03:00
bdca6a6ab1 update dependency versions 2023-01-27 22:52:05 -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