Files
motovaultpro/backend/src/core
2025-11-06 14:07:16 -06:00
..
2025-11-03 14:06:54 -06:00
2025-08-24 14:39:50 -05:00
2025-11-06 14:07:16 -06:00
2025-11-01 21:27:42 -05:00
2025-09-17 16:09:15 -05:00
2025-11-02 10:34:43 -06:00

Core Module Index

Configuration (src/core/config/)

  • config-loader.ts — Load and validate environment variables
  • database.ts — PostgreSQL connection pool
  • redis.ts — Redis client and cache helpers
  • user-context.ts — User context utilities

Plugins (src/core/plugins/)

  • auth.plugin.ts — Auth0 JWT via JWKS (@fastify/jwt, get-jwks)
  • error.plugin.ts — Error handling
  • logging.plugin.ts — Request logging

Logging (src/core/logging/)

  • logger.ts — Structured logging (Winston)

Middleware

  • middleware/user-context.ts — User ID extraction from JWT

Storage (src/core/storage/)

  • storage.service.ts — Storage abstraction
  • adapters/filesystem.adapter.ts — Filesystem storage adapter