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

Code Comparison REST v GraphQL #66

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6ec7593
initiate gql servr
Nurou Nov 23, 2023
4e6314b
add individual course field to gql
Nurou Nov 23, 2023
99b0b2a
query course details throuhg gql on frontend
Nurou Nov 23, 2023
84b3eec
Moved Timetable component data fetching to loader in main.tsx
samuelashraff Nov 27, 2023
0b58101
Made root loader fetching concurrent
samuelashraff Dec 4, 2023
bd49cf3
Merge pull request #50 from samuelashraff/49-cherry-pick-newest-gql-c…
fravl Dec 5, 2023
7c5ab08
Migrated course creation to GQL
samuelashraff Dec 7, 2023
9a4fb0a
Merge pull request #56 from samuelashraff/44-implement-course-creatio…
samuelashraff Dec 7, 2023
810c5fe
clean up course details query
Dec 8, 2023
a396439
create schemas for upcoming events and courses
Dec 8, 2023
68fdb34
use graphql endpoint on homepage
Dec 8, 2023
e2a4188
remove unused REST endpoints
Dec 8, 2023
1cb65e4
change assignment title to assignment type
Dec 8, 2023
7d6a146
reuse makegraphqlfunction
Dec 8, 2023
5e7d524
delete course with graphql
Dec 8, 2023
104940c
delete lectures and assignments using graphql
Dec 8, 2023
625b959
Merge pull request #57 from samuelashraff/52-migrate-course-page-load…
fravl Dec 8, 2023
fb390d8
Merge pull request #59 from samuelashraff/53-delete-course-lectures-a…
fravl Dec 8, 2023
398640a
update course with graphql
Dec 9, 2023
de5fab6
Merge pull request #60 from samuelashraff/55-update-course-details-wi…
fravl Dec 9, 2023
384fb03
fix form submissions
Dec 9, 2023
a6bb491
Merge pull request #62 from samuelashraff/fix-form-submissions
fravl Dec 9, 2023
0bcfc64
add lectures and assignments with graphql
Dec 9, 2023
c50d942
clean up graphql files
Dec 9, 2023
42cd6c3
move graphql router to server.ts
Dec 9, 2023
a898f1c
rename routes to graphql
Dec 9, 2023
657588c
Merge pull request #63 from samuelashraff/54-add-lectures-and-assignm…
fravl Dec 9, 2023
93f7a9f
fix back button
Dec 9, 2023
603cdb9
Merge pull request #64 from samuelashraff/fix-back-button
fravl Dec 9, 2023
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
110 changes: 83 additions & 27 deletions packages/backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
"license": "ISC",
"dependencies": {
"@koa/cors": "^4.0.0",
"graphql": "^15.8.0",
"koa": "^2.14.2",
"koa-bodyparser": "^4.4.1",
"koa-graphql": "^0.12.0",
"koa-router": "^11.0.2",
"sqlite3": "^5.1.6"
},
Expand Down
1 change: 1 addition & 0 deletions packages/backend/src/graphql/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./schema";
Loading