Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Via API calls ONLY:

  1. Allow a user to see all products

    • make an express route listener for this
    • test the route
    • can I console.log all the products
    • can I send back all the product data
  2. Allow user to see a specific product by id

  3. Allow a user to see all customers

  4. Allow user to see a specific customer by id

  5. Allow a user to add a new customer

    • Access the existing customer array
    • Send in a new customer record via POST api call
      • fs.writeFile
    • Update the array
    • Use fs.writeFile to create a new customers.json file wih the new data
  • OPTIONAL -
  1. Create a web page with a form on it for a new customer You'll need a route that serves up the page w/ the form The page itself needs a javascript for the form submission The JS file makes a fetch POST request w/ the form data When the user submits the form, do #5 above

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages