added item route details (#6)
Reviewed-on: #6 Co-authored-by: Joseph Nelson <joseph.nelson4456@gmail.com> Co-committed-by: Joseph Nelson <joseph.nelson4456@gmail.com>
This commit was merged in pull request #6.
This commit is contained in:
@@ -9,6 +9,7 @@ import locationRoutes from './routes/locations'
|
||||
import imageRoutes from './routes/images'
|
||||
import collectionRoutes from './routes/collections'
|
||||
import setRoutes from './routes/sets'
|
||||
import itemRoutes from './routes/items'
|
||||
|
||||
const app = express()
|
||||
const port = process.env.PORT || 3000
|
||||
@@ -27,6 +28,7 @@ app.use('/locations', locationRoutes)
|
||||
app.use('/images', imageRoutes)
|
||||
app.use('/collections', collectionRoutes)
|
||||
app.use('/sets', setRoutes)
|
||||
app.use('/items', itemRoutes)
|
||||
|
||||
// Default Route (Catch-all for undefined routes)
|
||||
app.use((req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user