managarten/apps/storage/apps/backend
Till JS 9085dddfad feat(storage): add rate limiting, file versioning endpoints, and version tests
Rate Limiting:
- Add @nestjs/throttler with 100 req/min global limit
- Stricter limits for uploads: 20 req/min single, 10 req/min multi

File Versioning (Backend):
- GET /api/v1/files/:id/versions — list version history
- POST /api/v1/files/:id/versions — upload new version with optional comment
- Updates file metadata (size, name, storageKey) on new version
- 7 new tests for versioning service and controller

API Client (Frontend):
- Add FileVersion interface
- Add filesApi.getVersions() and filesApi.uploadVersion()

Total tests: 205 (140 backend + 65 web)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 21:23:28 +01:00
..
src feat(storage): add rate limiting, file versioning endpoints, and version tests 2026-03-21 21:23:28 +01:00
docker-entrypoint.sh feat(docker): add Dockerfiles for presi and storage apps 2026-01-25 13:55:23 +01:00
Dockerfile feat(storage): add animations, drag feedback, integration tests, and optimize Dockerfile 2026-03-21 15:30:10 +01:00
drizzle.config.ts 🔧 chore: create @manacore/shared-drizzle-config and migrate 16 configs 2026-01-29 16:54:44 +01:00
eslint.config.mjs feat: restore presi and storage apps from archive 2026-01-25 13:25:51 +01:00
jest.config.js feat(storage): add tests, file preview modal, and fix Dockerfile ports 2026-03-21 12:16:28 +01:00
nest-cli.json feat: restore presi and storage apps from archive 2026-01-25 13:25:51 +01:00
package.json feat(storage): add rate limiting, file versioning endpoints, and version tests 2026-03-21 21:23:28 +01:00
tsconfig.json 🐛 fix: resolve tsconfig and dependency errors 2026-02-01 03:32:46 +01:00