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

feat: data post and fetch #33

Merged
merged 32 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9f30fd3
feat: add formiz
Ualnomis Jul 30, 2024
1e6b4b6
feat: add json-server and swr
Ualnomis Jul 30, 2024
ff458c3
feat: page background
Ualnomis Jul 30, 2024
0eb39c6
feat: form stepper
Ualnomis Jul 31, 2024
33e057e
fix: wrong form stepper props call
Ualnomis Jul 31, 2024
19d2c98
feat: checkbox component
Ualnomis Aug 1, 2024
b2af995
feat: select component
Ualnomis Aug 1, 2024
5193b16
feat: change padding
Ualnomis Aug 1, 2024
b87bbcb
feat: select component placeholder
Ualnomis Aug 1, 2024
816fac3
feat: placeholder and style wrapper
Ualnomis Aug 1, 2024
1c94152
feat(wip): form step 1 draft
Ualnomis Aug 1, 2024
7958e9d
feat: input component
Ualnomis Aug 2, 2024
71a729b
feat: hover response
Ualnomis Aug 2, 2024
82b6343
feat: hover response
Ualnomis Aug 2, 2024
9d7e952
feat: create button for next step, back, and submit
Ualnomis Aug 2, 2024
0c5b798
feat: create OTP input field and add props delegate for `Input` compo…
Ualnomis Aug 2, 2024
7c4fc87
feat: draft step 2 - 4
Ualnomis Aug 2, 2024
4eb63a5
feat: course registration form draft
Ualnomis Aug 3, 2024
e6e1c39
feat: dymanic route for course registration form
Ualnomis Aug 3, 2024
6e44430
feat: outline for keyboard navigation
Ualnomis Aug 3, 2024
671c012
feat: add framer motion for animation
Ualnomis Aug 4, 2024
5e79fd4
feat(wip): checkbox client side validation
Ualnomis Aug 4, 2024
4863da9
refactor: improve code readability
Ualnomis Aug 4, 2024
e2db184
feat: change SWR to simple-rest
Ualnomis Aug 4, 2024
7761c9b
feat: change radix checkbox to react aria checkbox
Ualnomis Aug 4, 2024
ac74baa
feat: admin dashboard draft (#21)
Ualnomis Aug 5, 2024
8beeb21
feat(ui): improve sidebar UI (#22)
Ualnomis Aug 5, 2024
b62a0b5
feat: form field submit using `Formiz` (#23)
Ualnomis Aug 6, 2024
1d8fbd8
feat(wip): course table and student table data fetch
Ualnomis Aug 7, 2024
ecd1d36
fix: missing dependencies in `package.json`
Ualnomis Aug 7, 2024
9ae27d5
feat: table data fetch integrate (#31)
AidanNPH Aug 8, 2024
d7943db
feat(wip): data post
Ualnomis Aug 9, 2024
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
14 changes: 13 additions & 1 deletion frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
{
"extends": ["next/babel", "next/core-web-vitals", "prettier"]
"root": true,
"extends": ["next/core-web-vitals", "prettier"],
"overrides": [
{
// Adapt to your needs (e.g. some might want to only override "next.config.js")
"files": ["*.js", "*.mjs"],
// This is the default parser of ESLint
"parser": "espree",
"parserOptions": {
"ecmaVersion": 2020
}
}
]
}
2 changes: 1 addition & 1 deletion frontend/.prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"tabWidth": 2,
"singleQuote": true,
"jsxSingleQuote": true
}
}
113 changes: 113 additions & 0 deletions frontend/db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"title": {
"name": "Learning Summer 2024 S.T.E.A.M. Camp"
},
"courses": [
{
"id": "1",
"name": "course1",
"startDate": "2024-01-01",
"startTime": "09:00",
"endDate": "2024-01-31",
"daysOfWeek": "Mon-Fri",
"endTime": "13:00",
"weeks": "4"
},
{
"id": "2",
"name": "course2",
"startDate": "2024-02-01",
"startTime": "09:00",
"endDate": "2024-02-28",
"daysOfWeek": "Mon-Fri",
"endTime": "13:00",
"weeks": "4"
},
{
"id": "3",
"name": "course3",
"startDate": "2024-03-01",
"startTime": "09:00",
"endDate": "2024-03-31",
"daysOfWeek": "Mon-Fri",
"endTime": "13:00",
"weeks": "4"
},
{
"id": "4",
"name": "course4",
"startDate": "2024-04-01",
"startTime": "09:00",
"endDate": "2024-04-30",
"daysOfWeek": "Mon-Fri",
"endTime": "13:00",
"weeks": "4"
},
{
"id": "5",
"name": "course5",
"startDate": "2024-05-01",
"startTime": "09:00",
"endDate": "2024-05-31",
"daysOfWeek": "Mon-Fri",
"endTime": "13:00",
"weeks": "4"
},
{
"id": "6",
"name": "course6",
"startDate": "2024-06-01",
"startTime": "09:00",
"endDate": "2024-06-30",
"daysOfWeek": "Mon-Fri",
"endTime": "13:00",
"weeks": "4"
},
{
"id": "7",
"name": "course7",
"startDate": "2024-07-01",
"startTime": "09:00",
"endDate": "2024-07-31",
"daysOfWeek": "Mon-Fri",
"endTime": "13:00",
"weeks": "4"
},
{
"id": "8",
"name": "course8",
"startDate": "2024-08-01",
"startTime": "09:00",
"endDate": "2024-08-31",
"daysOfWeek": "Mon-Fri",
"endTime": "13:00",
"weeks": "4"
},
{
"id": "9",
"name": "course9",
"startDate": "2024-09-01",
"startTime": "09:00",
"endDate": "2024-09-30",
"daysOfWeek": "Mon-Fri",
"endTime": "13:00",
"weeks": "4"
},
{
"id": "10",
"name": "course10",
"startDate": "2024-10-01",
"startTime": "09:00",
"endDate": "2024-10-31",
"daysOfWeek": "Mon-Fri",
"endTime": "13:00",
"weeks": "4"
}
],
"students": [
{
"id": "1",
"name": "student1"
}
]
}
Loading
Loading