Skip to content

Business Invitation Email (API>Front-End) #60

@Rickory2021

Description

@Rickory2021

Currently, new users who want to join an existing business must retype the business id (a 20 character string), to simplify it,
Potential API Steps:

  • Create an API that where the original user (the "owner" of the business) can send an email to the person who wants to join.
  • This email should be a link to the front-end (example: https://slicer-nine.vercel.app/business-invite) that also has a query (?businessId=123456789~)

Front-End then has to create pages and cookies to handle new API
Potential Front-End Steps:

  • Create a webpage that the email sends to (example: https://slicer-nine.vercel.app/business-invite)
  • When that page loads, save the businessId as a cookie
  • Check for cookie of User,
  • If exist, then call API to connect user & business (Update status of the process on page)
  • If not, then ask them to sign in or login
  • After Login, then call API to connect user & business (Update status of the process on page)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions