Massive code cleanup

- Avoid fighting import cycles using a factory function
- Collapse useless subpackages into simple modules
- Move flask plugins / infrastructure in own module
- Refactor how blueprints are used to localize information about
  URL routing to app factory
This commit is contained in:
Jonas Schäfer
2021-01-17 10:18:20 +01:00
parent e476d9b7c2
commit fa700bba07
16 changed files with 330 additions and 291 deletions

View File

@@ -1,3 +1,2 @@
#!/bin/sh
exec hypercorn -b "0.0.0.0:8000" snikket_web:app
exec hypercorn -b "0.0.0.0:8000" 'snikket_web:create_app()'