Skip to content

philschoof/productServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

productServer

Instructions:

  • Install dependencies with npm install
  • Fill in database details in config/config.json
  • Start with npm start
  • POST new products to /products with a product name and, optionally, attributes
{
    "productName": "milkshake",
    "attributes": [
        {
            "type":"size",
            "value":"large"
        },
                {
            "type":"flavor",
            "value":"strawberry"
        }
    ]
}
  • GET existing products from '/products'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published