Snai3i-LandingPage-FormBuilder / backend / src / routes / index.ts
index.ts
Raw
import { Application } from "express";
import authRouter from "./authRoutes";
import formRouter from "./formRoutes";
import stormRouter from "./stormRoutes";

export default function setRouters(app: Application) {
    // app.use('/', indexRouter);

    app.use('/api/admin', authRouter);

    app.use('/api/forms', formRouter);

    app.use('/api/storm', stormRouter);

}