* feat: setup secure presigned uploads and downloads * clean up * update lock * Get presigned url finally working * 557: Migrate backend to hono + ts * chore: update Dockerfile and package.json for backend configuration * add dev command * remove unused packages * Enhance backend API and frontend components for course management - Updated CORS configuration in the backend to allow specific methods and headers. - Refactored lesson download endpoint to use a new route for PDF downloads. - Removed unused certificate download functionality from the lesson router. - Updated frontend components to reflect changes in API endpoints and improve video upload functionality. - Introduced new video upload component and adjusted video handling in lesson materials. - Cleaned up unnecessary imports and optimized component structure for better performance. * PR cleanups * Enhance email configuration by adding SMTP_SENDER environment variable - Updated docker-compose.yaml to include SMTP_SENDER. - Modified Dockerfile to accept SMTP_SENDER as an argument. - Updated environment schema in env.ts to define SMTP_SENDER as optional. - Adjusted mail service to use SMTP_SENDER for the email 'from' field. - Updated documentation to reflect the new SMTP_SENDER variable. * Remove debug log statement from sendEmail function --------- Co-authored-by: Iniubong Obonguko <iniubongobonguko2018@gmail.com>
65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"name": "backend",
|
|
"version": "0.0.1",
|
|
"description": "ClassroomIO Backend for long processes",
|
|
"main": "dist/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc && tsc-alias",
|
|
"dev": "tsx watch src/index.ts",
|
|
"start": "node dist/index.js",
|
|
"test": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"lint": "eslint . --ext .ts",
|
|
"format": "prettier --write \"src/**/*.ts\""
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/classroomio/classroomio.git"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/classroomio/classroomio/issues"
|
|
},
|
|
"homepage": "https://github.com/classroomio/classroomio#readme",
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.388.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.675.0",
|
|
"@hono/node-server": "^1.8.2",
|
|
"@sentry/node": "^7.110.1",
|
|
"@sentry/profiling-node": "^7.110.1",
|
|
"@supabase/supabase-js": "^2.32.0",
|
|
"axios": "^1.4.0",
|
|
"dotenv": "^16.3.1",
|
|
"hono": "^4.0.5",
|
|
"hono-rate-limiter": "^0.4.2",
|
|
"katex": "^0.16.10",
|
|
"marked": "^7.0.3",
|
|
"nanoid": "^5.1.5",
|
|
"nodemailer": "^6.9.5",
|
|
"puppeteer": "^24.10.0",
|
|
"zeptomail": "^6.0.0",
|
|
"zod": "^3.21.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/katex": "^0.16.7",
|
|
"@types/node": "^20.11.19",
|
|
"@types/nodemailer": "^6.4.17",
|
|
"@types/puppeteer": "^7.0.4",
|
|
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
"@typescript-eslint/parser": "^7.0.1",
|
|
"@vitest/coverage-v8": "^1.2.2",
|
|
"eslint": "^8.56.0",
|
|
"prettier": "^3.2.5",
|
|
"ts-node": "^10.9.2",
|
|
"tsc-alias": "^1.8.16",
|
|
"tsx": "^4.7.1",
|
|
"typescript": "^5.5.2",
|
|
"vitest": "^1.2.2"
|
|
},
|
|
"_moduleAliases": {
|
|
"$src": "src"
|
|
}
|
|
}
|