divy-03 / DreamLeague

https://dream-server-six.vercel.app
0 stars 3 forks source link

Add User Schema Attributes #1

Closed divy-03 closed 2 months ago

divy-03 commented 2 months ago

Kindly add all the fields in the user schema like, position, rating, and all that has to be given to a every user or player who registers.

divy-03 commented 2 months ago

Added following Schemas with respective attributes:

  1. Users: To store user details, including players, captains, and admins.
  2. PlayerRatings: To store the ratings given to players by admins.
  3. Captains: To store details specific to captains, including virtual currency balance.
  4. Auctions: To store information about each auction event.
  5. Bids: To store bids placed by captains during auctions.
  6. Teams: To store team details, including the captain and team name.
  7. TeamPlayers: To store the players assigned to each team.
  8. PlayerStatistics: To store individual player statistics.
  9. TeamStandings: To store team standings and match results.

In total, 9 collections in MongoDB will be created for the full functionality of the website.