feat: Servers feature in backend

This commit is contained in:
2025-01-02 14:48:19 +07:00
parent eb92d3e689
commit edcb36e279
5 changed files with 669 additions and 8 deletions
+9
View File
@@ -0,0 +1,9 @@
import { prisma } from "@minikura/db";
export namespace UserService {
export async function getUserByUsername(username: string) {
return await prisma.user.findUnique({
where: { username },
});
}
}