The Langman API
Get to know how the `langman/server` directory will turn out.
We'll cover the following...
We'll cover the following...
Application definitions
The updates for the methods have been completed, but with two different API namespaces, that is, games
and auth
, it now makes more sense to put the definition of the Flask application in its own file together with the before_request
and teardown_request
decorated methods. To do this, we put the game resources into a new file, game_api.py
, and leave the App
definition in app.py
. This separation of pieces will ...