Commit Graph

8 Commits

Author SHA1 Message Date
JSC
af20bc8724 Add database seeding functionality and enhance model relationships
- Implement initial data seeding for plans in the database.
- Create a new `seed_all_data` function to manage seeding process.
- Update `Sound` and `User` models to include relationships for `SoundPlayed` and `Stream`.
2025-07-25 11:44:47 +02:00
JSC
4a77a23ee5 Fix formatting by adding a newline at the end of the API router initialization file 2025-07-25 11:25:15 +02:00
JSC
c219aaac1a Add API routing for v1 endpoints and health check functionality 2025-07-25 11:24:03 +02:00
JSC
c5c3e8442e Refactor error logging in database functions for consistency and clarity 2025-07-25 11:09:50 +02:00
JSC
d8aaedf851 Refactor LoggingMiddleware constructor to use ASGIApp type hint and remove unused parameters 2025-07-25 10:59:14 +02:00
JSC
b6d1ef2a27 Add logging configuration and middleware for improved request tracking 2025-07-25 10:54:30 +02:00
JSC
2860008a6d Remove unnecessary blank lines in model files for cleaner code structure 2025-07-22 16:18:41 +02:00
JSC
fefb7f7bf4 Refactor code structure for improved readability and maintainability 2025-07-22 13:21:44 +02:00