Added: tests, signin api, not working docker

This commit is contained in:
2024-05-01 23:24:03 +02:00
parent dc1b955a8a
commit bd8a5d607f
14 changed files with 553 additions and 83 deletions

View File

@ -1,9 +1,9 @@
import { Request, Response, Router } from "express";
import path from "path";
import authRoutes from "./authRoutes";
import api_v1 from "./api_v1";
export const router = Router();
router.use("/api/auth", authRoutes);
router.use("/api/v1", api_v1);
//router.get("*", (req: Request, res: Response) => {
// res.sendFile(path.join(__dirname, "../views/index.html"));