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

Create add and delete user functions #22

Merged
merged 7 commits into from
Oct 30, 2023
Merged

Conversation

kadenlei
Copy link
Contributor

@kadenlei kadenlei commented Oct 27, 2023

Overview

Created functions to add and delete users to/from firebase by phone number. Can also add claim (number from 0-3 specifying role) for user when adding. Also made test routes to ensure functionality.

Changes Made

Created functions createUser() and deleteUser() in backend/src/users/firebase-functions.ts. Should put service account key in the users folder.

Test Coverage

Created test routes in backend/src/users/views.ts to add and delete users from the database.

@jfeuerstein jfeuerstein merged commit c750cbc into main Oct 30, 2023
1 check failed
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.

4 participants