Security Fixes
This commit is contained in:
@@ -56,8 +56,8 @@ make test
|
||||
- `database.ts` - PostgreSQL connection pool
|
||||
- `redis.ts` - Redis client and cache service
|
||||
|
||||
### Security (`src/core/security/`)
|
||||
- `auth.middleware.ts` - JWT authentication via Auth0
|
||||
### Security (Fastify Plugin)
|
||||
- `src/core/plugins/auth.plugin.ts` - Auth plugin (mock user in dev; plan for Auth0 JWT)
|
||||
|
||||
### Logging (`src/core/logging/`)
|
||||
- `logger.ts` - Structured logging with Winston
|
||||
@@ -89,7 +89,7 @@ Run tests:
|
||||
npm test
|
||||
|
||||
# Specific feature
|
||||
npm run test:feature -- --feature=vehicles
|
||||
npm test -- features/vehicles
|
||||
|
||||
# Watch mode
|
||||
npm run test:watch
|
||||
@@ -100,5 +100,5 @@ npm run test:watch
|
||||
See `.env.example` for required variables. Key variables:
|
||||
- Database connection (DB_*)
|
||||
- Redis connection (REDIS_*)
|
||||
- Auth0 configuration (AUTH0_*)
|
||||
- External API keys
|
||||
- Auth0 configuration (AUTH0_*) — backend currently uses mock auth; JWT enforcement planned
|
||||
- External API keys
|
||||
|
||||
Reference in New Issue
Block a user