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

[backend] Implement JWT authentication #34

Merged
merged 7 commits into from
Mar 23, 2024
Merged

[backend] Implement JWT authentication #34

merged 7 commits into from
Mar 23, 2024

Conversation

helloitsdave
Copy link
Owner

Adding jwt auth to backend
Frontend pending

Copy link

Coverage after merging jwt-backend into main

97.73%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   authenticateToken.ts100%100%100%
   index.ts96.77%90%97.33%165–167
   prisma.ts100%100%100%
src/__mocks__
   prisma.ts100%100%100%

backend/tests/unit/login.spec.ts Dismissed Show dismissed Hide dismissed
backend/tests/unit/login.spec.ts Dismissed Show dismissed Hide dismissed
backend/tests/service/users.spec.ts Dismissed Show dismissed Hide dismissed
backend/src/index.ts Dismissed Show dismissed Hide dismissed
backend/src/index.ts Dismissed Show dismissed Hide dismissed
backend/src/index.ts Dismissed Show dismissed Hide dismissed
backend/src/index.ts Dismissed Show dismissed Hide dismissed
backend/src/index.ts Dismissed Show dismissed Hide dismissed
backend/src/index.ts Dismissed Show dismissed Hide dismissed
Copy link

Coverage after merging jwt-backend into main

97.73%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   authenticateToken.ts100%100%100%
   index.ts96.77%90%97.33%165–167
   prisma.ts100%100%100%
src/__mocks__
   prisma.ts100%100%100%

Copy link

Coverage after merging jwt-backend into main

97.73%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   authenticateToken.ts100%100%100%
   index.ts96.77%90%97.33%165–167
   prisma.ts100%100%100%
src/__mocks__
   prisma.ts100%100%100%

Copy link

Coverage after merging jwt-backend into main

97.73%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   authenticateToken.ts100%100%100%
   index.ts96.77%90%97.33%165–167
   prisma.ts100%100%100%
src/__mocks__
   prisma.ts100%100%100%

Copy link

Coverage after merging jwt-backend into main

97.73%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   authenticateToken.ts100%100%100%
   index.ts96.77%90%97.33%165–167
   prisma.ts100%100%100%
src/__mocks__
   prisma.ts100%100%100%

Copy link

Coverage after merging jwt-backend into main

97.73%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   authenticateToken.ts100%100%100%
   index.ts96.77%90%97.33%165–167
   prisma.ts100%100%100%
src/__mocks__
   prisma.ts100%100%100%

Copy link

Coverage after merging jwt-backend into main

91.43%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   App.tsx0%0%0%1, 1, 10–19, 2, 20–27, 3–9
   NoteApp.tsx94.12%100%96.69%66–70
src/api
   apiService.ts90.91%100%100%18
src/components
   Header.tsx0%0%0%1, 1–9
   Login.tsx100%100%100%
   Note.tsx100%100%100%
   NoteForm.tsx100%100%100%
   NoteFormModal.tsx100%100%100%
   NoteGrid.tsx100%100%100%
   Spinner.tsx100%100%100%

Copy link

Coverage after merging jwt-backend into main

97.73%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   authenticateToken.ts100%100%100%
   index.ts96.77%90%97.33%165–167
   prisma.ts100%100%100%
src/__mocks__
   prisma.ts100%100%100%

Copy link

Coverage after merging jwt-backend into main

91.43%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   App.tsx0%0%0%1, 1, 10–19, 2, 20–27, 3–9
   NoteApp.tsx94.12%100%96.69%66–70
src/api
   apiService.ts90.91%100%100%18
src/components
   Header.tsx0%0%0%1, 1–9
   Login.tsx100%100%100%
   Note.tsx100%100%100%
   NoteForm.tsx100%100%100%
   NoteFormModal.tsx100%100%100%
   NoteGrid.tsx100%100%100%
   Spinner.tsx100%100%100%

@helloitsdave helloitsdave merged commit d2f69b3 into main Mar 23, 2024
6 checks passed
@helloitsdave helloitsdave deleted the jwt-backend branch March 23, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant