Add task routes, bug fixes

This commit is contained in:
2025-01-29 15:44:24 +05:30
parent 405338c314
commit a157cb3fed
10 changed files with 413 additions and 29 deletions

View File

@@ -3,7 +3,7 @@ import app from "./server";
(async () => {
const PORT = parseInt(process.env.PORT ?? "8000");
const DB_URI = process.env.DB_URI ?? "";
const DB_URI = process.env.DB_TEST ?? "";
await mongoose.connect(DB_URI);
await app.listen({ port: PORT, host: "0.0.0.0" });