feat: add planner routes and email functionality; update settings and App component for new stock thresholds and email reminders

This commit is contained in:
Daniel Volz
2025-12-20 17:26:46 +01:00
parent ce02ab8372
commit 5cb5e2ba26
6 changed files with 764 additions and 48 deletions
+2
View File
@@ -10,6 +10,7 @@ import { healthRoutes } from "./routes/health.js";
import { authRoutes } from "./routes/auth.js";
import { medicationRoutes } from "./routes/medications.js";
import { settingsRoutes } from "./routes/settings.js";
import { plannerRoutes } from "./routes/planner.js";
const app = Fastify({
logger: {
@@ -58,6 +59,7 @@ await app.register(healthRoutes);
await app.register(authRoutes);
await app.register(medicationRoutes);
await app.register(settingsRoutes);
await app.register(plannerRoutes);
const start = async () => {
try {