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

DRAFT: Create Invitations Table and APIs #112

Open
2 tasks
Safewaan opened this issue Jun 20, 2023 · 0 comments
Open
2 tasks

DRAFT: Create Invitations Table and APIs #112

Safewaan opened this issue Jun 20, 2023 · 0 comments
Labels
User Authentication Features related to user auth

Comments

@Safewaan
Copy link
Collaborator

Safewaan commented Jun 20, 2023

Summary

Goals

  • Create a new model called invitations, this is what the schema should contain
    id - invitation id (primary key)
    user_id - user id (foreign key)
    invitation_key - key where the user can access the sign up page (unique, string)
    date_created - datetime to store when the invite was created (datetime)
    expires_after - integer that stores when the invitation expires (milliseconds, integer, nullable)
    
  • Create CRUD endpoints for the invitation table
    GET- user id should also be a query param
@Safewaan Safewaan changed the title Create Invitations Table and APIs DRAFT: Create Invitations Table and APIs Jun 20, 2023
@Safewaan Safewaan added the User Authentication Features related to user auth label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Authentication Features related to user auth
Projects
None yet
Development

No branches or pull requests

1 participant