LifeMate — Personal, Family & Learning Companion
feat: mount phase 4 API routes
davoodmehraban89 committed
Oct 5, 2026 at 16:13 UTC
fca21dd70a6c175f361cc9b6af350ef5c1b8386f
1 file changed
+2
backend/src/server.js
+2
@@ -6,6 +6,7 @@ import pg from 'pg';
6
import nodemailer from 'nodemailer';
7
import cors from 'cors';
8
import { createPhase3Router } from './phase3.js';
9
+import { createPhase4Router } from './phase4.js';
10
11
const { Pool } = pg;
12
const app = express();
@@ -604,6 +605,7 @@ app.post('/v1/families/:familyId/guardians', auth, async (req, res) => {
605
});
606
607
app.use('/v1', createPhase3Router({ pool, auth }));
608
+app.use('/v1', createPhase4Router({ pool, auth }));
609
610
app.use((err, _req, res, _next) => {
611
console.error(err);