- Added city, state, and country optional fields to Complex model - Updated onboarding to include optional location fields - Created new settings page with sidebar navigation (Datos del Complejo, Canchas) - Replaced ESLint with Biome for frontend and backend linting - Added parallel dev script with concurrently - Migrated register-routes to use direct app.route() pattern
14 lines
314 B
TypeScript
14 lines
314 B
TypeScript
import app from '@/index';
|
|
import { logger } from '@/lib/logger';
|
|
|
|
const port = Number(Bun.env.PORT ?? 3000);
|
|
const hostname = Bun.env.HOST ?? '0.0.0.0';
|
|
|
|
const server = Bun.serve({
|
|
hostname,
|
|
port,
|
|
fetch: app.fetch,
|
|
});
|
|
|
|
logger.info({ url: `http://${server.hostname}:${server.port}` }, 'backend_listening');
|