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

Admin side volunteer account creation #44

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

paimasiko
Copy link
Contributor

@paimasiko paimasiko commented Feb 3, 2025

Admin Side Volunteer Account Creation

  • Created temporary admin page for inputting emails of volunteers /AdminNavView/VolunteerAccountCreation
    image

  • Used nodemailer package to send the emails. (Still want to migrate this to juno later)
  • Used https://resend.com/ as the email service. (Made it so this can be easily changed in the future)


  • Added 3 new .env variables
    • RESEND_API_KEY : used for resend email service to work
    • BASE_URL : used for the signup links we send to the volunteers.
    • BAGELS_EMAIL : the domain we will use to send the emails.

  • Created a SignUpToken model and some server actions for sign up logic

  • Created some email server actions for sending emails

  • Created a temporary sign up page /signup
    image


  • I copied over the entire login folder and renamed it to signup. I would reuse the components in login but I made some changes to TextInput and I know that component is getting worked on this sprint so I didn't want to cause any conflicts.

@paimasiko paimasiko self-assigned this Feb 3, 2025
@paimasiko paimasiko linked an issue Feb 3, 2025 that may be closed by this pull request
8 tasks
@paimasiko paimasiko requested a review from avayedawadi February 3, 2025 05:52
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.

Admin Side Volunteer-Account Creation (Backend)
1 participant