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

Make API call to resolver to enable profile pictures to be uploaded to Firebase #357

Open
neelismail01 opened this issue May 17, 2022 · 0 comments
Assignees

Comments

@neelismail01
Copy link
Contributor

neelismail01 commented May 17, 2022

Summary and Background

API calls to appropriate GraphQL queries/mutations need to be made in order to support the creation, retrieval, and deletion of profile photos from the client side. The following mockup done in #360 should work:
image.png

Technical

  • The buttons for uploading profile photos are in frontend/src/components/pages/NewAccountPage.tsx, so the API calls will need to be made there
  • The GraphQL APIs are defined in backend/graphql/resolvers/userResolvers.ts. Take a look at the queries/mutations related to profile photos to view the required parameters that need to be passed in the request
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

No branches or pull requests

1 participant