Go to file
2022-03-08 16:11:15 -05:00
ui Add initial api and docker files (#1) 2022-03-05 09:57:20 -05:00
api_types.go use headers for player_id 2022-03-08 16:11:15 -05:00
api.go use headers for player_id 2022-03-08 16:11:15 -05:00
docker-compose.yml Put the api in docker (#2) 2022-03-07 21:43:36 -05:00
Dockerfile Put the api in docker (#2) 2022-03-07 21:43:36 -05:00
go.mod fix game view 2022-03-07 16:14:30 -05:00
go.sum fix game view 2022-03-07 16:14:30 -05:00
main.go actually use new handlers 2022-03-07 15:04:13 -05:00
README.md update readme 2022-03-07 15:21:59 -05:00
session.go fix game view 2022-03-07 16:14:30 -05:00
util.go rest of the routes, dummy game creation 2022-03-07 14:47:35 -05:00
view_tile.go fix game view 2022-03-07 16:14:30 -05:00

freego_api

freego implementation as a simple REST API.

Currently stores no state and has no user authentication, so using it should just be

  go build
  ./freego_api

Implemented routes

  POST /game
  GET /game/{id}
  GET /game/{id}/status
  POST /game/{id}/move
  GET /game/{id}/move/{movenum}