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

display team & lead data #4

Closed
nagarajpandith opened this issue Nov 7, 2022 · 0 comments · Fixed by #14
Closed

display team & lead data #4

nagarajpandith opened this issue Nov 7, 2022 · 0 comments · Fixed by #14
Assignees
Labels
enhancement New feature or request high-priority high priority issue compared to others already present

Comments

@nagarajpandith
Copy link
Member

nagarajpandith commented Nov 7, 2022

an api is written on /api/read/teams to read team data, display the team details of a particular user to themselves on a page called /my-team

details

  • create a schema for Lead
model Lead {
  id     Int    @id
  user   User   @relation(fields: [userId], references: [id])
  team   Team   @relation(fields: [teamId], references: [id])
  userId String
  teamId Int
}
  • create a page /my-team to read the team data(team name, lead and members) and show it to the user
@nagarajpandith nagarajpandith added the enhancement New feature or request label Nov 7, 2022
@nagarajpandith nagarajpandith added the high-priority high priority issue compared to others already present label Nov 7, 2022
@swasthikshetty10 swasthikshetty10 linked a pull request Nov 16, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high-priority high priority issue compared to others already present
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants