Student Registeration CRUD & Listing

This commit is contained in:
kertenkerem
2026-01-08 01:14:35 +03:00
parent d5de503f86
commit 8fa560cd5e
6 changed files with 236 additions and 0 deletions

15
src/app/register/page.tsx Normal file
View File

@@ -0,0 +1,15 @@
import { prisma } from '@/infrastructure/db/prisma';
import { RegisterForm } from './RegisterForm';
import styles from './register.module.css';
export default async function RegisterPage() {
const branches = await prisma.branch.findMany({
select: { id: true, name: true }
});
return (
<div className={styles.container}>
<RegisterForm branches={branches} />
</div>
);
}