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(cms/api): add basic API client #238

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
736dd1f
Adding basic API client
Varun-Sethu Sep 20, 2022
d8bb2cf
added API type assertations
Varun-Sethu Sep 21, 2022
f64cae6
Merge branch 'main' of github.com:csesoc/cms.csesoc.unsw.edu.au into …
Varun-Sethu Sep 21, 2022
4a3207a
fixing expect message
Varun-Sethu Sep 21, 2022
a9394cf
updating workflow to support integration tests
Varun-Sethu Sep 21, 2022
7567dc2
undoing changes to ghost exporter
Varun-Sethu Sep 21, 2022
efcf807
undoing changes to ghost exporter
Varun-Sethu Sep 21, 2022
ae353a3
oh yaml gods please work
Varun-Sethu Sep 21, 2022
72652d8
i smite thee yaml gods
Varun-Sethu Sep 21, 2022
720a94f
all i know is pain and suffering
Varun-Sethu Sep 21, 2022
95794e3
please jsut run the stupid backend tests
Varun-Sethu Sep 21, 2022
167b3fc
i think this works now
Varun-Sethu Sep 21, 2022
db91d04
tests pass (locally)
Varun-Sethu Sep 21, 2022
9045648
i guess not
Varun-Sethu Sep 21, 2022
dfe482d
:(
Varun-Sethu Sep 21, 2022
4c7f9b6
please just just work please pleaaase
Varun-Sethu Sep 21, 2022
b44edd2
i dont know how to title these commits anymore
Varun-Sethu Sep 21, 2022
f6c0ba4
i dont know how to title these commits anymore
Varun-Sethu Sep 21, 2022
2da112b
upgrading ubuntu version
Varun-Sethu Sep 21, 2022
2e0c432
upgrading ubuntu version
Varun-Sethu Sep 21, 2022
18066b3
i think this might be it! :D
Varun-Sethu Sep 21, 2022
e1315d5
adding CI configuration
Varun-Sethu Sep 21, 2022
e82e62b
fixing client config
Varun-Sethu Sep 21, 2022
1abd37a
throws hands in air
Varun-Sethu Sep 21, 2022
92a6c76
i reaaallly hope this works
Varun-Sethu Sep 21, 2022
8374a04
hopefully this works again
Varun-Sethu Sep 21, 2022
dc36f41
hopefully this works again
Varun-Sethu Sep 21, 2022
aede6b6
printf debugging begins
Varun-Sethu Sep 21, 2022
1f5189d
capturing logs
Varun-Sethu Sep 21, 2022
0e26cdb
im actually going insane
Varun-Sethu Sep 21, 2022
d85c44c
updating config again
Varun-Sethu Sep 22, 2022
127f5dc
updating config again
Varun-Sethu Sep 22, 2022
993b580
capturing more debugging info
Varun-Sethu Sep 22, 2022
234fd8e
testing docker network
Varun-Sethu Sep 22, 2022
01ef76d
testing docker network
Varun-Sethu Sep 22, 2022
75b8261
backend logging
Varun-Sethu Sep 22, 2022
e34370d
backend logging
Varun-Sethu Sep 22, 2022
5ec1dec
Update frontend/src/packages/api/tests/filesystemConsistency.test.ts
Varun-Sethu Nov 22, 2022
4abce87
Update frontend/src/packages/api/types/general.ts
Varun-Sethu Nov 22, 2022
41c6103
Apply suggestions from code review
Varun-Sethu Nov 22, 2022
1bc173a
Apply suggestions from code review
Varun-Sethu Nov 22, 2022
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
Prev Previous commit
Next Next commit
fixing expect message
  • Loading branch information
Varun-Sethu committed Sep 21, 2022
commit 4a3207a115b0b7952e1e8a3e4bd8e53be3563749
5 changes: 0 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@
"uuid": "8.3.2",
"web-vitals": "1.1.2"
},
"jest": {
"setupFilesAfterEnv": [
"jest-expect-message"
]
},
"proxy": "http://backend:8080",
"scripts": {
"start": "react-scripts start",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/setupTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
import '@testing-library/jest-dom';
import 'jest-expect-message';