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

[Fullstack] - User Sign Up Information #147

Open
10 tasks
SamratSahoo opened this issue Sep 28, 2024 · 0 comments
Open
10 tasks

[Fullstack] - User Sign Up Information #147

SamratSahoo opened this issue Sep 28, 2024 · 0 comments
Assignees

Comments

@SamratSahoo
Copy link
Member

SamratSahoo commented Sep 28, 2024

Description

We want to extend the user schema to take into account additional fields: Annual pet visit day, address.

Acceptance Criteria

Backend:

  • Extend the User type + schema with annualPetVisitDay (Date type) and address (String)
    • Update any relevant endpoints + server actions
    • Both should be required
  • When a user is created, send an email to [email protected] with their user information (i.e., email, address, name should be sufficient)
    • To make the email template, you can use something like https://stripo.email/ and then ask gpt to convert the template you make to a pug file (its a templating engine commonly used for emails)
    • In a dev environment, have it send emails to [email protected]
    • In prod have it send it to [email protected]
      • You can keep track of this by creating a new env variable like DEPLOY_CONTEXT (preferred) or the NODE_ENV env variable

Frontend:

  • Update the mobile app to take into account the additional the annualPetVisitDay and address properties when the user profile is being created
  • Update any associated fronted actions

Other Notes

@SamratSahoo SamratSahoo changed the title [Backend] - User Sign Up Information [Fullstack] - User Sign Up Information Oct 2, 2024
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

2 participants