massive fixes to stores and addresses

This commit is contained in:
2026-01-19 00:33:09 -08:00
parent c579f141f8
commit d2efca8339
50 changed files with 24844 additions and 127 deletions

View File

@@ -37,6 +37,7 @@ import inventoryRouter from './src/routes/inventory.routes';
import receiptRouter from './src/routes/receipt.routes';
import dealsRouter from './src/routes/deals.routes';
import reactionsRouter from './src/routes/reactions.routes';
import storeRouter from './src/routes/store.routes';
import { errorHandler } from './src/middleware/errorHandler';
import { backgroundJobService, startBackgroundJobs } from './src/services/backgroundJobService';
import type { UserProfile } from './src/types';
@@ -284,6 +285,8 @@ app.use('/api/receipts', receiptRouter);
app.use('/api/deals', dealsRouter);
// 15. Reactions/social features routes.
app.use('/api/reactions', reactionsRouter);
// 16. Store management routes.
app.use('/api/stores', storeRouter);
// --- Error Handling and Server Startup ---