Commit Graph

9 Commits

Author SHA1 Message Date
f519b94392 Use realIP
All checks were successful
Build and Push Docker Image on Tag / Build and Push Docker Image (push) Successful in 15m31s
Code was copied from https://github.com/go-chi/chi/blob/master/middleware/realip.go
2025-02-01 17:07:24 +01:00
729fbecae6 Fix content-type header 2025-01-17 19:34:49 +01:00
c7cccf2ec1 Use generated interface 2025-01-13 11:26:18 +01:00
cad5cfe636 Move voting to a new endpoint
/election/{id}/votes
2025-01-11 18:29:01 +01:00
0229f78976 Incomplete implementation of createVotes 2025-01-02 19:24:32 +01:00
29fb5880e3 Add migrations and continue implementing election insertion 2024-12-30 20:41:28 +01:00
f1a951ce81 Write test skeleton 2024-12-28 17:58:01 +01:00
a22f3e5a71 Write logic for createElection validation 2024-12-28 17:13:22 +01:00
5c784f491d Add POST /election 2024-12-27 18:03:46 +01:00