hngprojects / hng_boilerplate_nestjs

Description
Apache License 2.0
181 stars 105 forks source link

[FEAT]: Create Organization Invitation Link -Backend #113

Closed Goldyn19 closed 1 week ago

Goldyn19 commented 1 month ago

Issue: Implement an API for creating Organization invite link

Description

Create an API endpoint to generate invitation links for inviting users to join an organization. This endpoint will validate the input data and generate a unique invitation link for the specified organization.

Acceptance Criteria

API Endpoint Implementation:

NdubuisiJr commented 1 month ago

@Goldyn19 how will this generated link reach the user? There should be a part that automatically sends an email to the invited user attaching the link.

Goldyn19 commented 1 month ago

the generated link can be copied and shared externally additionally, i have created a way to share the link through an email as indicted in the figma design i have added a way to share link through email

Shullyd7 commented 1 month ago

It is status_code, not status. Be consistent with the snake case

Goldyn19 commented 1 month ago

It is status_code, not status. Be consistent with the snake case

changes has been made

hashkitti001 commented 1 month ago

Please can you add an isActivated field to the invitationLink database schema .To be able to deactivate the link when it's not in use @Goldyn19