No description
Find a file
Kumi 193546fcde
Implement dynamic service rendering with Flask
Refactored the website to serve dynamic content using Flask, replacing static HTML pages. This allows for the centralized management of service data through a JSON file. Optimizations include:

- Added a .gitignore file to exclude Python and Flask-specific temporary files.
- Migrated static assets into an organized directory structure to facilitate Flask's static file serving.
- Removed redundant HTML files and created Flask template versions with dynamic content rendering.
- Introduced Caddy server configuration for the new Flask architecture, including headers for security and CORS policy, and reverse proxy settings for route handling.

With these changes, website maintenance and updates are simplified, allowing for service information to be updated in a single location (`services.json`), which then propagates to the user-facing pages automatically.
2023-12-31 13:59:13 +01:00
assets Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00
templates Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00
.gitignore Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00
Caddyfile Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00
LICENSE Add LICENSE 2023-03-09 17:26:44 +00:00
main.py Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00
privatecoffee.ini Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00
requirements.txt Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00
services.json Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00