Files
discord-storage/package.json
b3ni15 2f07f75088 feat: Implement file upload and management system
- Created database schema for files and file parts.
- Added API endpoint to create a new file and generate an upload token.
- Implemented API endpoint to complete file uploads and generate a download token.
- Developed cron job for cleaning up expired files and deleting associated Discord messages.
- Added API endpoint for soft deletion of files and their parts.
- Implemented API endpoint to fetch file metadata and parts for download.
- Created API endpoint to upload file parts to Discord.
- Developed a client-side download page to handle file decryption and assembly.
- Established database connection pooling for efficient database operations.
2025-10-16 09:16:06 +02:00

32 lines
670 B
JSON

{
"name": "discord-storage",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint"
},
"dependencies": {
"bcrypt": "^6.0.0",
"mysql2": "^3.15.2",
"next": "15.5.5",
"react": "19.1.0",
"react-dom": "19.1.0",
"uuid": "^13.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@tailwindcss/postcss": "^4",
"@types/bcrypt": "^6.0.0",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "15.5.5",
"tailwindcss": "^4",
"typescript": "^5"
}
}