Fix medication system and rename to Synculous.
- Add all 14 missing database tables (medications, med_logs, routines, etc.) - Rewrite medication scheduling: support specific days, every N days, as-needed (PRN) - Fix taken_times matching: match by created_at date, not scheduled_time string - Fix adherence calculation: taken / expected doses, not taken / (taken + skipped) - Add formatSchedule() helper for readable display - Update client types and API layer - Rename brilli-ins-client → synculous-client - Make client PWA: add manifest, service worker, icons - Bind dev server to 0.0.0.0 for network access - Fix SVG icon bugs in Icons.tsx - Add .dockerignore for client npm caching Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,7 @@ Domain routes are registered via the routes registry.
|
||||
|
||||
import os
|
||||
import flask
|
||||
from flask_cors import CORS
|
||||
import core.auth as auth
|
||||
import core.users as users
|
||||
import core.postgres as postgres
|
||||
@@ -18,6 +19,7 @@ import api.routes.routine_stats as routine_stats_routes
|
||||
import api.routes.routine_tags as routine_tags_routes
|
||||
|
||||
app = flask.Flask(__name__)
|
||||
CORS(app)
|
||||
|
||||
ROUTE_MODULES = [
|
||||
routines_routes,
|
||||
|
||||
Reference in New Issue
Block a user