feat: integrate MinIO for video storage, add video routes, and update README with API documentation

This commit is contained in:
2025-12-07 17:10:00 +00:00
parent 93b5e289f3
commit bd3d17c192
6 changed files with 256 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ import 'dotenv/config';
import express from 'express';
import authRoutes from './routes/auth';
import videosRoutes from './routes/videos';
const app = express();
@@ -12,6 +13,7 @@ app.get('/', (_req, res) => {
});
app.use('/auth', authRoutes);
app.use('/videos', videosRoutes);
app.use((err: unknown, _req: express.Request, res: express.Response, _next: express.NextFunction) => {
console.error(err);