Added Documents Feature
This commit is contained in:
@@ -49,16 +49,26 @@ make test
|
||||
## Core Modules
|
||||
|
||||
### Configuration (`src/core/config/`)
|
||||
- `environment.ts` - Environment variable validation
|
||||
- `config-loader.ts` - Environment variable loading and validation
|
||||
- `database.ts` - PostgreSQL connection pool
|
||||
- `redis.ts` - Redis client and cache service
|
||||
- `tenant.ts` - Tenant configuration utilities
|
||||
|
||||
### Security (Fastify Plugin)
|
||||
- `src/core/plugins/auth.plugin.ts` - Auth plugin (Auth0 JWT via JWKS; tokens required in all environments)
|
||||
### Security (Fastify Plugins)
|
||||
- `src/core/plugins/auth.plugin.ts` - Auth0 JWT via JWKS (@fastify/jwt + get-jwks)
|
||||
- `src/core/plugins/error.plugin.ts` - Error handling
|
||||
- `src/core/plugins/logging.plugin.ts` - Request logging
|
||||
|
||||
### Logging (`src/core/logging/`)
|
||||
- `logger.ts` - Structured logging with Winston
|
||||
|
||||
### Middleware
|
||||
- `src/core/middleware/tenant.ts` - Tenant extraction and validation
|
||||
|
||||
### Storage
|
||||
- `src/core/storage/` - Storage abstractions
|
||||
- `src/core/storage/adapters/minio.adapter.ts` - MinIO S3-compatible adapter
|
||||
|
||||
## Feature Development
|
||||
|
||||
To create a new feature capsule:
|
||||
|
||||
Reference in New Issue
Block a user