chicken-sloths / bangazon-api-sprint1

API for a mock Amazon + Etsy platform providing developers access to the company's employee & product data
0 stars 0 forks source link

Deleted extra join table files #121

Closed jordan-castelloe closed 6 years ago

jordan-castelloe commented 6 years ago

Description

This deletes old files we weren't using. (We created a bunch of files for join table routes before we realized that we'd never be querying join tables directly.)

Number of Fixes

Fixes Issue #113

Expected Behavior

Files that should be gone: Controllers

  1. product_orderCtrl.js
  2. employeeComputerCtrl.js
  3. employeeTrianingProgramCtrl.js

Models

  1. EmployeeComputersModel.js
  2. EmployeeTrainingProgramsModel.js
  3. ProductOrdersModel.js

Routes

  1. routes/employeeComputers.js
  2. routes/employeeTrainingPrograms.js
  3. routes/productOrders.js

Steps to Test Solution

Run a GET for each route and make sure they all work!

  1. /employees
  2. /departments
  3. /training-programs
  4. /computers
  5. /customers
  6. /products
  7. /orders
  8. /payment-options
  9. /product-types
DavidLarsKetch commented 6 years ago

testing