Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing API to append Data #16

Merged
merged 7 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_BACKEND_URL = http://localhost:3001
suryabulusu marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ yarn-error.log*
next-env.d.ts

venv

.env.local
224 changes: 224 additions & 0 deletions db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
{
"quiz": [
{
"id": 1,
"student": {
"testTakers": "csdchsdcn",
"program": "Himachal Students",
"batch": "DL-12-Alpha-Eng-23",
"grade": "9",
"course": "NEET",
"stream": "Medical"
},
"test": {
"name": "cdsjcnjsnc",
"id": "1",
"sessionId": "cdsc",
"sessionLink": "cdscdsc",
"cmsId": "csdcs",
"type": "assessment",
"format": "major_test",
"purpose": "baseline",
"platform": "Quiz",
"markingScheme": "4,-1",
"optionalLimit": "na"
},
"timeline": {
"startDate": "2023-08-11",
"endDate": "2023-08-04",
"startTime": "10:24",
"endTime": "22:24",
"reportSchedule": "dscsdc",
"reportLink": "cdscjndsc",
"isEnabled": false,
"sessionType": "infinite"
}
},
{
"student": {
"testTakers": "54654",
"program": "Haryana Students",
"batch": "DL-12-Photon-Eng-23",
"grade": "10",
"course": "Catalyst",
"stream": "Maths"
},
"test": {
"name": "sfaa",
"type": "assessment",
"format": "major_test",
"purpose": "endline",
"platform": "Quiz",
"markingScheme": "4,-1",
"optionalLimit": "na"
},
"timeline": {
"startDate": "2023-09-19",
"endDate": "2023-09-17",
"startTime": "15:35",
"endTime": "16:35",
"reportSchedule": "lgkhk",
"reportLink": "a",
"isEnabled": true,
"sessionType": "infinite",
"synced": false
},
"id": 2
},
{
"student": {
"testTakers": "54654",
"program": "Delhi Students",
"batch": "DL-12-Alpha-med-23",
"grade": "9",
"course": "Hiring",
"stream": "Medical"
},
"test": {
"name": "Prakhar Bansal Resume",
"type": "homework",
"format": "major_test",
"purpose": "monthly_test",
"platform": "Quiz",
"markingScheme": "4,-1",
"optionalLimit": "neet"
},
"timeline": {
"startDate": "2023-09-18",
"endDate": "2023-09-20",
"startTime": "14:54",
"endTime": "17:54",
"reportSchedule": "dad",
"reportLink": "halhala",
"isEnabled": false,
"sessionType": "infinite",
"synced": true
},
"id": 3
},
{
"student": {
"testTakers": "1000",
"program": "Haryana Students",
"batch": "DL-12-Photon-Eng-23",
"grade": "9",
"course": "Hiring",
"stream": "Maths"
},
"test": {
"name": "faf",
"type": "homework",
"format": "part_test",
"purpose": "endline",
"platform": "Quiz",
"markingScheme": "4,-1",
"optionalLimit": "na"
},
"timeline": {
"startDate": "2023-09-06",
"endDate": "2023-09-23",
"startTime": "15:03",
"endTime": "18:03",
"reportSchedule": "ljalfa",
"reportLink": "add",
"isEnabled": true,
"sessionType": "infinite",
"synced": true
},
"id": 4
},
{
"student": {
"testTakers": "1500",
"program": "Delhi Students",
"batch": "DL-12-Alpha-med-23",
"grade": "11",
"course": "Certification",
"stream": "Physics"
},
"test": {
"name": "canem",
"type": "omr_assessment",
"format": "evaluation_test",
"purpose": "reshuffling_test",
"platform": "Quiz",
"markingScheme": "1,0",
"optionalLimit": "jee"
},
"timeline": {
"startDate": "2023-09-25",
"endDate": "2023-09-30",
"startTime": "17:38",
"endTime": "19:38",
"reportSchedule": "afa",
"reportLink": "ss",
"isEnabled": false,
"sessionType": "standard",
"synced": false
},
"id": 5
},
{
"student": {
"testTakers": "54654",
"program": "Haryana Students",
"batch": "DL-12-Alpha-Eng-23",
"grade": "10",
"course": "NEET",
"stream": "Medical"
},
"test": {
"name": "sfaa",
"type": "assessment",
"format": "major_test",
"purpose": "weekly_test",
"platform": "Quiz",
"markingScheme": "1,0",
"optionalLimit": "na"
},
"timeline": {
"startDate": "2023-09-19",
"endDate": "2023-09-23",
"startTime": "16:14",
"endTime": "19:14",
"reportSchedule": "FFFF",
"reportLink": "FFFFH",
"isEnabled": false,
"sessionType": "infinite",
"synced": true
},
"id": 6
},
{
"student": {
"testTakers": "8989",
"program": "Himachal Students",
"batch": "DL-12-Photon-Eng-23",
"grade": "10",
"course": "Catalyst",
"stream": "Maths"
},
"test": {
"name": "foo",
"type": "homework",
"format": "major_test",
"purpose": "endline",
"platform": "Quiz",
"markingScheme": "1,0",
"optionalLimit": "neet"
},
"timeline": {
"startDate": "2023-09-11",
"endDate": "2023-09-15",
"startTime": "17:24",
"endTime": "19:24",
"reportSchedule": "Hello",
"reportLink": "hellosa",
"isEnabled": true,
"sessionType": "standard",
"synced": true
},
"id": 7
}
]
}
Loading