Fullstack Go/baduk/weiqi application
Find a file
2019-10-25 10:21:34 -07:00
api config server.py for deploy 2019-10-24 16:11:27 -07:00
auth debug auth 2019-10-09 00:08:37 -07:00
configuration add secret key to prod config 2019-10-12 11:07:24 -07:00
migrations join two players in game 2019-10-13 10:15:03 -07:00
models reset heroku db 2019-10-14 17:04:57 -07:00
tests config tests 2019-10-04 11:24:11 -07:00
websockets save move to db 2019-10-13 16:08:05 -07:00
__init__.py debug server problems, implement auth route 2019-10-05 22:40:02 -07:00
app.py empty commit 2019-10-14 16:48:43 -07:00
database.py debug server problems, implement auth route 2019-10-05 22:40:02 -07:00
manage.py change app.config in manage.py 2019-10-14 16:55:22 -07:00
Procfile ready procfile for deploy 2019-10-24 16:12:09 -07:00
README.md config api 2019-09-28 14:03:27 -07:00
requirements.txt join two players in game 2019-10-13 10:15:03 -07:00
runtime.txt config api 2019-09-28 14:03:27 -07:00
server.py turn off debug for deploy 2019-10-25 10:17:50 -07:00

Brower Go API

Resources

Login

Users

User Endpoints

@auth_required
/users/<str:user_name> GET
/users/<str:user_name> POST
/users/<str:user_name> PUT
Alias:
/users/<int:user_id>

Games

/games/ no endpoint; game lists are retrieved by room

Moves & Branches

/games/<int:game_id> GET
@auth_required
/games/<int:game_id> POST <- post move to game

Messages

@auth_required /games/<int:game_id>/moves/<int:move_id> POST <- post message/branch /games/<int:game_id>/moves/<int:move_id> POST <- edit move

Rooms

Archive Room

The archive room is used to search and access games once they have been completed. path: /rooms/archive