Create config.json
Browse files- config.json +81 -0
config.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1.0.0",
|
| 3 |
+
"name": "RewardApp",
|
| 4 |
+
"description": "پلتفرم آموزشی توسعه وب با سیستم پاداش",
|
| 5 |
+
"environment": "development",
|
| 6 |
+
|
| 7 |
+
"paths": {
|
| 8 |
+
"data": "./data",
|
| 9 |
+
"lessons": "./data/lessons",
|
| 10 |
+
"quizzes": "./data/quizzes",
|
| 11 |
+
"exercises": "./data/exercises",
|
| 12 |
+
"schemas": "./schemas",
|
| 13 |
+
"assets": "./assets",
|
| 14 |
+
"images": "./assets/images",
|
| 15 |
+
"fonts": "./assets/fonts",
|
| 16 |
+
"css": "./css",
|
| 17 |
+
"js": "./js"
|
| 18 |
+
},
|
| 19 |
+
|
| 20 |
+
"api": {
|
| 21 |
+
"baseUrl": "",
|
| 22 |
+
"timeout": 10000,
|
| 23 |
+
"retryAttempts": 3
|
| 24 |
+
},
|
| 25 |
+
|
| 26 |
+
"ai": {
|
| 27 |
+
"enabled": false,
|
| 28 |
+
"providers": {
|
| 29 |
+
"openai": {
|
| 30 |
+
"enabled": false,
|
| 31 |
+
"model": "gpt-3.5-turbo"
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
"contentGeneration": {
|
| 35 |
+
"autoGenerate": false,
|
| 36 |
+
"maxRetries": 3
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
|
| 40 |
+
"authentication": {
|
| 41 |
+
"tokenExpiry": 7,
|
| 42 |
+
"tokenExpiryUnit": "days",
|
| 43 |
+
"sessionTimeout": 30,
|
| 44 |
+
"sessionTimeoutUnit": "minutes"
|
| 45 |
+
},
|
| 46 |
+
|
| 47 |
+
"learning": {
|
| 48 |
+
"totalDays": 3,
|
| 49 |
+
"maxScorePerLesson": 100,
|
| 50 |
+
"quizPassingScore": 70,
|
| 51 |
+
"exerciseEvaluation": {
|
| 52 |
+
"keywordMatchWeight": 0.6,
|
| 53 |
+
"contentQualityWeight": 0.4
|
| 54 |
+
}
|
| 55 |
+
},
|
| 56 |
+
|
| 57 |
+
"ui": {
|
| 58 |
+
"theme": "light",
|
| 59 |
+
"language": "fa",
|
| 60 |
+
"rtl": true,
|
| 61 |
+
"animations": true,
|
| 62 |
+
"notifications": {
|
| 63 |
+
"duration": 5000,
|
| 64 |
+
"position": "top-right"
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
|
| 68 |
+
"features": {
|
| 69 |
+
"authentication": true,
|
| 70 |
+
"progressTracking": true,
|
| 71 |
+
"leaderboard": true,
|
| 72 |
+
"offlineMode": true,
|
| 73 |
+
"contentCreation": false
|
| 74 |
+
},
|
| 75 |
+
|
| 76 |
+
"debug": {
|
| 77 |
+
"enabled": true,
|
| 78 |
+
"logLevel": "info",
|
| 79 |
+
"logToFile": true
|
| 80 |
+
}
|
| 81 |
+
}
|