A social knowledge tool for researchers built on ATProto

refactor: move testRoutes to shared infrastructure directory

Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>

+11 -1
+1 -1
src/shared/infrastructure/http/app.ts
··· 7 7 import { createCardsModuleRoutes } from '../../../modules/cards/infrastructure/http/routes'; 8 8 import { createFeedRoutes } from '../../../modules/feeds/infrastructure/http/routes/feedRoutes'; 9 9 import { createSearchRoutes } from '../../../modules/search/infrastructure/http/routes/searchRoutes'; 10 - import { createTestRoutes } from '../../../modules/test/infrastructure/http/routes/testRoutes'; 10 + import { createTestRoutes } from './routes/testRoutes'; 11 11 import { 12 12 EnvironmentConfigService, 13 13 Environment,
+10
src/shared/infrastructure/http/routes/testRoutes.ts
··· 1 + import { Router, Request, Response } from 'express'; 2 + 3 + export const createTestRoutes = (router: Router) => { 4 + // Simple ping/pong endpoint for performance testing 5 + router.get('/ping', (req: Request, res: Response) => { 6 + res.json({ message: 'pong' }); 7 + }); 8 + 9 + return router; 10 + };