Go to file
fry 56e561c91e Put the api in docker (#2)
Self explanatory

Co-authored-by: David Frymoyer <david.frymoyer@gmail.com>
Reviewed-on: #2
Co-authored-by: fry <david.frymoyer@gmail.com>
Co-committed-by: fry <david.frymoyer@gmail.com>
2022-03-07 21:43:36 -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 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}