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

Krish/25-26-integrate-frontend-and-backend #34

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

krishpra2315
Copy link
Contributor

Integrate frontend and backend with unauthorized and authorized routes

Issue Number(s): #25 #26 #22

Description

  • This ticket integrates the frontend and backend from the previous sprint
  • Adds unauthorized and authorized routes
  • Implements Google Auth support

Acceptance Criteria

  • /login and /register and /forgot-password pages should start calling the /api/v1/auth API
  • / page should fetch the current user's pet using /api/v1/pets API, and then insert that data into the home page. Making the API call should be done using server-side rendering.
  • Create two React components: UnauthorizedRoute and AuthorizedRoute that wrap the pages and verify jwt tokens
  • Create an API endpoint under the auth controller to validate tokens
  • Implement google auth

Pending

= Implement google auth

Testing

  • validate-token endpoint tested with postman
  • everything else tested on frontend

Copy link

netlify bot commented Feb 12, 2025

Deploy Preview for bog-ican ready!

Name Link
🔨 Latest commit 8b6daef
🔍 Latest deploy log https://app.netlify.com/sites/bog-ican/deploys/67abe4ed65e7b800088ceb7c
😎 Deploy Preview https://deploy-preview-34--bog-ican.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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