Go to file
2022-03-07 20:55:49 -05:00
ui Add initial api and docker files (#1) 2022-03-05 09:57:20 -05:00
api_types.go fix game view 2022-03-07 16:14:30 -05:00
api.go fix game view 2022-03-07 16:14:30 -05:00
docker-compose.yml first pass at docker 2022-03-07 20:51:46 -05:00
Dockerfile first pass at docker 2022-03-07 20:51:46 -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}