├── app ├── favicon.ico ├── components │ ├── QuizDetails.tsx │ ├── ForgetPassword.tsx │ ├── Footer.tsx │ ├── Navbar.tsx │ ├── Signin.tsx │ ├── Signup.tsx │ └── Fileinput.tsx ├── Home.module.css ├── Date.ts ├── layout.tsx ├── firebase.ts ├── page.tsx ├── createquiz │ └── page.tsx ├── studentdata │ ├── page.test.tsx │ └── page.tsx ├── login │ └── page.tsx ├── quizzes │ └── page.tsx ├── results │ └── page.tsx ├── globals.css ├── [quizid] │ └── page.tsx └── admin │ └── page.tsx ├── OOPS (Example Quiz File).xlsx ├── next.config.js ├── postcss.config.js ├── Student Data Sheet 11.12.2023 .xlsx ├── .gitignore ├── tsconfig.json ├── tailwind.config.ts ├── Dockerfile ├── LICENSE ├── .github └── workflows │ └── integrate.yml ├── package.json ├── README.md └── CONTRIBUTING.md /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkySingh04/QuizQuest/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /OOPS (Example Quiz File).xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkySingh04/QuizQuest/HEAD/OOPS (Example Quiz File).xlsx -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = {} 3 | 4 | module.exports = nextConfig 5 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /Student Data Sheet 11.12.2023 .xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkySingh04/QuizQuest/HEAD/Student Data Sheet 11.12.2023 .xlsx -------------------------------------------------------------------------------- /app/components/QuizDetails.tsx: -------------------------------------------------------------------------------- 1 | 2 | 3 | const QuizDetails = ({ quiz }: any) => ( 4 |
Score: {quiz.score}
6 |Total Questions: {quiz.totalQuestions}
7 |Time: {quiz.time}
8 |Quiz ID: {quiz.quizId}
9 |Quiz Name: {quiz.quizName}
10 |Course: {quiz.course}
11 |Course Code: {quiz.courseCode}
12 |Uploaded File: {fileName}
} 76 | {/* Display and configure the generated quiz here */} 77 |56 | To keep connected with us please login with your personal info 57 |
58 | 65 | 72 |Enter your personal details and start journey with us
76 | 83 | 90 |Quiz Name: {quiz.data.quizName}
93 |Course: {quiz.data.course}
94 |Course Code: {quiz.data.courseCode}
95 |This quiz has been attempted.
96 |Quiz Name: {quiz.data.quizName}
103 |Course: {quiz.data.course}
104 |Course Code: {quiz.data.courseCode}
105 |71 | User: {displayName || 'User Not Found'} 72 |
73 |74 | Score: {score}/{questionlength || 'Score Not Found'} 75 |
76 | 77 | 78 | {fetchedQuestions.map((question:any, index : any) => ( 79 |{question.question}
82 || User ID | 118 |USN | 119 |Display Name | 121 |Quiz Data | 122 |Total Score | 123 ||
|---|---|---|---|---|---|
| {user.uid} | 129 |{user.USN} | 130 |{user.email} | 131 |{user.displayName} | 132 |
133 | {user.quizData.map((quiz: any, index: any) => (
134 |
135 |
142 | ))}
143 |
136 |
141 | 137 | {quiz.quizName}: {quiz.score} / {quiz.totalQuestions} 138 |139 | |
144 | {calculateTotalScore(user.quizData)} | 145 |
Drag & drop an Excel file here, or click to select one
170 | {fileName && ( 171 |{JSON.stringify(excelData, null, 2)}
180 | {currentQuestion.question}
213 |Loading...
258 | )} 259 || USN | 240 |Display Name | 242 |Quiz Data | 243 |Total Score | 244 ||
|---|---|---|---|---|
| {user.USN} | 250 |{user.email} | 251 |{user.displayName} | 252 |
253 | {user.quizData.map((quiz: any, index: any) => (
254 |
255 |
262 | ))}
263 |
256 |
261 | 257 | {quiz.quizName}: {quiz.score} / {quiz.totalQuestions} 258 |259 | |
264 | {calculateTotalScore(user.quizData)} | 265 |