wishlist-app/src/api/routes/wishlist/index.ts
Benny Samir Hierl 32c16ff663 #1 Create Endpoint added
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
2022-02-05 09:53:46 +01:00

11 lines
334 B
TypeScript

import { FastifyInstance } from 'fastify'
import { getAll, getBySlugUrl } from './read'
import { updateItem } from './update'
import { createList } from './create'
export default async (app: FastifyInstance) => {
await app.route(getAll)
await app.route(getBySlugUrl)
await app.route(createList)
await app.route(updateItem)
}