Let users upload videos, tag them with one or more entries, and watch them from a new Discovery Videos page. Backend: - Add Video and VideoEntry models and relations - Add video controller and /video routes - Add video thumbnail generation service (ffmpeg-static) - Add video upload storage location and config Frontend: - Add DiscoveryVideosPage with sidebar link and route - Add AddVideoDialog, VideoDropzone, EntryMultiSelect, VideoCard and VideoPlayerDialog components - Add discoveryVideos API client and useDiscoveryVideos hook - Add format helpers, video types and normalizers - Add skeleton for the page Docs: - Document the feature in docs-vault
44 lines
930 B
JSON
44 lines
930 B
JSON
{
|
|
"name": "showy_backend",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"dev": "nodemon server.js --trace-warnings",
|
|
"package": "pkg server.js --output ../dist/backend/backend --targets node18-win-x64"
|
|
},
|
|
"pkg": {
|
|
"scripts": [
|
|
"node_modules/**/*"
|
|
],
|
|
"assets": [
|
|
"node_modules/**/*"
|
|
],
|
|
"targets": [
|
|
"win-x64"
|
|
],
|
|
"outputPath": "../dist/backend/backend.exe"
|
|
},
|
|
"bin": {
|
|
"showy-backend": "server.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"axios": "^1.7.9",
|
|
"body-parser": "^1.20.3",
|
|
"dotenv": "^16.4.7",
|
|
"express": "^4.21.2",
|
|
"ffmpeg-static": "^5.3.0",
|
|
"jsonwebtoken": "^9.0.3",
|
|
"multer": "^1.4.5-lts.1",
|
|
"mysql2": "^3.12.0",
|
|
"nodemon": "^3.1.9",
|
|
"optional": "^0.1.4",
|
|
"sequelize": "^6.37.5",
|
|
"sharp": "^0.33.5",
|
|
"uuid": "^11.0.5"
|
|
}
|
|
}
|