add initial files

This commit is contained in:
jeffvli
2022-07-25 19:40:16 -07:00
commit e8b612c974
283 changed files with 62820 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import express, { Router } from 'express';
import { albumsController } from '../controllers';
import { authenticateLocal } from '../middleware';
export const albumsRouter: Router = express.Router();
albumsRouter.get('/', authenticateLocal, albumsController.getAlbums);
albumsRouter.get('/:id', authenticateLocal, albumsController.getAlbumById);