skeydula.server.main module¶
The main application integrating all components of the server together.
- skeydula.server.main.app¶
An instantiated application server with all routes.
- Type:
Starlette
- skeydula.server.main.generate_app(config, routes=[Route(path='/', name='root', methods=['GET', 'HEAD'])], startup_hooks=[<function startup>])¶
Generate the Starlette application.
Wrapper function for creating an application. Defaults configure the production application using the normal configuration mechanism. The intent is to be able to override these for testing purposes.
Entrypoints to the application should use the app global.