KandaHub Backend API
Backend server is running successfully!
Available Endpoints:
- POST /api/auth/register - Register new user
- POST /api/auth/login - Login user
- POST /api/auth/refresh - Refresh token
- GET /api/auth/me - Get current user
- GET /api/videos - List videos
- GET /api/videos/[id] - Get video by ID
- POST /api/videos/upload - Upload video
- GET /api/videos/trending - Trending videos
- GET /api/comments - Get comments
- POST /api/comments - Create comment
- GET /api/admin/stats - Admin statistics
Server running on port 4000