---
# System prepended metadata

title: Navi App Data Model

---

# Navi App Data Model

### Login/Register
- Username
    - String: Unique id for user
- Password
    - String: Unique password for user

#### Network Request
- Create/Post: Creating a new user storing: username, password
- Read/Get: Query all users where username is the entered username



### Home Screen

#### Movie Poster Table
- Game Title
    - String: Title of game
- Game Poster
    - File: Image of Game Cover Art

#### Header
- User Profile picture
    - File: Image of User's profile picture

#### Network Requests
- Read/Get: Get Games Information (Game Poster, Game Name)
- Read/Get: Query Current User & Get User's Profile Picture

### Game Description
- Game Title
    - String: Title of game
- Game Poster
    - File: Image of Game Cover Art
- Game Description
    - String: Brief summary of the game
- Game Overall Rating
    - Number: 1-5 Average Rating from all ratings
- User Profile picture
    - File: Image of User's profile picture

- User Review
    - Review Message
        - String: User created review message
    - Rating
        - Number: 1-5 Rating of Game
    - Username
        - String: Author's username
    - Profile Picture
        - File: Author's Profile picture
    - ObjectID Number
        - String: Unique ID for each post
    - User Comments
        - Message
            - String: Author's Message
        - Username
            - String: Author's Username
        - User Profile Picture
            - File: Author's Profile Picture

#### Network Request
- Read/Get: Get Reviews w/ all the information (Review Message, Author, Author Picture, Rating, Comments)
- Update/Put: Updating Overall Average Game Rating whenever a new review is created
- Create/Post: User creates a review for this specific game inputing specific message and rating

### Profile
- User Profile Image
    - File: Image of User's profile picture
- User's Reviews
    - Review Message
        - String: User created review message
    - Rating
        - Number: 1-5 Rating of Game
    - Username
        - String: Author's username
    - Profile Picture
        - File: Author's Profile picture
    - ObjectID Number
        - String: Unique ID for each post
- User's Top Genre
    - String: User's Chosen Top Genre
- User's Top Game
    - String: User's Chose Fav Game

#### Networks Requests
- Read/Get: Get User's information (Username, Profile picture, Top Genre, Top Game)
- Read/Get: Get User's Reviews

### Setting
- Username
    - String: User's username
- Password
    - String: User's password
- Profile Picture
    - File: Image of user profile picture

#### Network Requests
- Update/Put: Update User's username/password/profile picture










