Files
recipe-manager/server/routes/ingredient.ts
2022-11-19 12:23:23 -06:00

22 lines
400 B
TypeScript

import { Express, Router } from "express";
const router = Router();
export const ingredientRoute = (app: Express) => {
app.use('/ingredient', router);
router.get('/', async (req, res, next) => {
})
router.get('/:id', async (req, res, next) => {
})
router.put('/:id', async (req, res, next) => {
})
router.post('/', async (req, res, next) => {
})
}