Public Access
- Added OpenAI package to backend dependencies for AI grading. - Implemented new grading routes and services to handle AI grading requests. - Updated admin settings to include AI provider configuration options. - Enhanced frontend components to support AI grading, including UI for testing AI connection and displaying AI feedback. - Updated results component to allow for AI-assisted grading and display of suggested grades. - Added internationalization support for new AI grading features in both English and Dutch.
37 lines
857 B
JSON
37 lines
857 B
JSON
{
|
|
"name": "brainwave-backend",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"bcrypt": "^6.0.0",
|
|
"better-sqlite3": "^11.9.1",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.4.7",
|
|
"express": "^5.1.0",
|
|
"express-rate-limit": "^7.5.0",
|
|
"helmet": "^8.1.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"nodemailer": "^7.0.3",
|
|
"openai": "^4.95.0",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/cors": "^2.8.18",
|
|
"@types/express": "^5.0.2",
|
|
"@types/jsonwebtoken": "^9.0.9",
|
|
"@types/nodemailer": "^6.4.17",
|
|
"tsx": "^4.19.4",
|
|
"typescript": "~6.0.2",
|
|
"vitest": "^4.1.5"
|
|
}
|
|
}
|