Takes uploads (documents, profile and portfolio images) and serves them back.
Files are written to a local uploads/ folder, which is created on first run.
- Port: 3005
- Routes:
/api/files/*
npm install
npm run dev # live reload (ts-node-dev)
npm run build # compile to dist/PORT=3005
MONGO_URI=<mongodb connection string>
FRONTEND_URL=http://localhost:5173
API_GATEWAY_URL=http://localhost:3000
JWT_ACCESS_SECRET=<shared with all services>
src/
config/ db connection
controller/ upload and download handlers
middleware/ auth, multer upload
models/ Mongoose schemas
routes/ Express routers
index.ts entry point
uploads/ stored files (created at runtime)