There are merge conflicts in this! I'll deal with them at the end!
Description
This PR changes a bunch of file names so they look like they were written by the Great Chicken Sloth in the Sky rather than a bunch of chicken sloths on the mortal plane.
Number of Fixes
Fixes issue #114 and #96
Expected Behavior
Naming conventions for file names:
Generates JSON
Camelcase
Plural with underscore
/data/faker/products/_productsFaker.js
Route
Camelcase
Plural plus 'Router'
/routes/products/productsRouter.js
Model
PascalCase
Plural
/models/products/ProductsModel.js
Controller
camelCase
Plural
/controllers/products/productsCtrl.js
Steps to Test Solution
npm data: generate shouldn't throw any errors (I redid the file names for faker generators)
npm start
Run gets on all the routes to make sure everything still works
There are merge conflicts in this! I'll deal with them at the end!
Description
This PR changes a bunch of file names so they look like they were written by the Great Chicken Sloth in the Sky rather than a bunch of chicken sloths on the mortal plane.
Number of Fixes
Fixes issue #114 and #96
Expected Behavior
Naming conventions for file names:
Generates JSON
/data/faker/products/_productsFaker.js
Route
/routes/products/productsRouter.js
Model
/models/products/ProductsModel.js
Controller
/controllers/products/productsCtrl.js
Steps to Test Solution
npm data: generate
shouldn't throw any errors (I redid the file names for faker generators)npm start
/employees
/departments
/training-programs
/computers
/customers
/products
/orders
/payment-options
/product-types