Added Documents Feature

This commit is contained in:
Eric Gullickson
2025-09-28 20:35:46 -05:00
parent 2e1b588270
commit 775a1ff69e
66 changed files with 5655 additions and 944 deletions

View File

@@ -3,10 +3,10 @@
* @ai-context Starts the Fastify server with all feature capsules
*/
import { buildApp } from './app';
import { env } from './core/config/environment';
import { appConfig } from './core/config/config-loader';
import { logger } from './core/logging/logger';
const PORT = env.PORT || 3001;
const PORT = appConfig.config.server.port;
async function start() {
try {
@@ -19,7 +19,7 @@ async function start() {
logger.info(`MotoVaultPro backend running`, {
port: PORT,
environment: env.NODE_ENV,
environment: appConfig.config.server.environment,
nodeVersion: process.version,
framework: 'Fastify'
});