Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

database

purrfectlyp answered on November 2, 2022 Popularity 10/10 Helpfulness 1/10

Contents


More Related Answers

  • What is a Database?
  • what is database attribute
  • What is database
  • which database to use

  • database

    0
    Popularity 10/10 Helpfulness 1/10 Language whatever
    Link to this answer
    Share Copy Link
    Contributed on Nov 02 2022
    purrfectlyp
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    0

    The data will be stored in a relational database (RDBMS). Therefore, we need to define the tables and relations within the database.

    The products table

    The table “products” must only contain the unique id, which is also the primary key.

    The "products" table

    The "products" table

    The names table

    The table “names” must contain a column for the product id, one for the language code, and one for the name. Its primary key is the combination of the product id and the language code. All columns must not be null.

    The "names" table

    The "names" table

    The relation to the products is realized by a foreign key constraint to the products table via the product id.

    HTTP API

    The HTTP API shall provide the following endpoints on the given paths:

    Path HTTP Method Function

    /products POST Create a product

    /products GET Get all products and translations

    /product/{UUID} PUT Update product

    /product/{UUID} GET Get the specific product

    The data shall be encoded in JSON using the following specifications:

    Popularity 10/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 23 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10

    0
    Popularity 9/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 19 2024
    Cloudy Caterpillar
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.