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

fixed routes so that the section prefix is in the index file of that … #117

Closed joechesney closed 6 years ago

joechesney commented 6 years ago

…folder, rather than in the individual routes files

Description

Changed routes so that the section (table) prefix is in the index file of that folder, rather than in the individual routes files.

Number of Fixes

Type of number of fixes included in this PR.

Related Ticket(s)

Fixes #109

Problem to Solve

Makes individual routes a little easier to read because the route prefix is in the index file rather than at the beginning of the route in each route file.

Expected Behavior

All routes should hopefully still work. Without testing each individual route, we can just scour this pull requests code changes and make DANG sure that each route is still properly routed.

Steps to Test Solution

  1. Read through every single file of this pull request, and make sure that each route is still intact.
  2. Test every single route.
kenziebottoms commented 6 years ago

testing

jordan-castelloe commented 6 years ago

testing!