Commit Graph

12 Commits

Author SHA1 Message Date
x 373eb6d324 Refactor web assets structure; migrate HTML, CSS, and JS to new directory and update Dockerfile for new paths 2025-06-15 01:07:02 +02:00
x 12a313eea4 Refactor application structure and enhance logging
- Introduced a Configuration struct to manage application settings.
- Created a State struct to encapsulate application state and dependencies.
- Replaced log package with logrus for improved logging capabilities.
- Implemented graceful shutdown handling for the HTTP server.
- Added context management for background tasks.
- Updated database initialization to ensure tables are created.
- Refactored user management functions to use the new State struct.
- Enhanced error handling and logging throughout the application.
- Updated README to reflect changes in user addition process.
2025-06-15 00:59:50 +02:00
x 6d5fc75719 Refactor HTML structure and styles; implement dynamic serving of CSS and JS files 2025-06-14 04:58:23 +02:00
x 5084c70295 Refactor database handling and API endpoints
- Removed fsnotify dependency and related file watching logic.
- Introduced SQLite database for storing user profiles and history.
- Created new API endpoints for fetching latest profiles and user history.
- Migrated existing JSON data to the new database structure.
- Simplified HTML and JavaScript for fetching and displaying profile data.
- Improved error handling and logging throughout the application.
2025-06-12 22:42:22 +02:00
x fe9647f863 Update main.go 2024-11-08 20:30:27 +01:00
x 20d6510053 fix some stuff lol 2024-10-19 14:32:16 +02:00
x 9acfc490f0 +Seeding count 2024-10-10 18:35:02 +02:00
x c6ac549281 this should fix it 2024-10-10 17:31:06 +02:00
x 8ea02ee188 bara bra grejjor 2024-10-10 17:07:08 +02:00
hasitotabla 6ffa3de9bb refactor: profiles are now stored in json, added displaynames 2024-10-10 16:01:08 +02:00
x 134d09869e d 2024-10-09 02:11:17 +02:00
x 614504e933 Init 2024-10-09 01:11:28 +02:00