feat: added moisture checker

This commit is contained in:
Elias Renman
2023-05-21 16:33:44 +02:00
parent bb9407c2fa
commit 028e825541
20 changed files with 454 additions and 756 deletions

View File

@@ -0,0 +1,12 @@
import { startServer } from "./server";
import { prisma } from "./prisma";
startServer()
.then(async () => {
await prisma.$disconnect();
})
.catch(async (e) => {
console.error(e);
await prisma.$disconnect();
process.exit(1);
});