feat: Initialized project

This commit is contained in:
2024-09-21 13:28:02 +07:00
parent e06ca3e703
commit a765e598ba
32 changed files with 1349 additions and 0 deletions

11
apps/web/app/layout.tsx Normal file
View File

@@ -0,0 +1,11 @@
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
}

17
apps/web/app/page.tsx Normal file
View File

@@ -0,0 +1,17 @@
import { api } from "@minikura/api";
async function fetchData() {
const response = await api.index.get();
return response;
}
export default async function Page() {
const data = await fetchData();
return (
<div>
<h1>Hello React</h1>
<pre>{JSON.stringify(data, null, 2)}</pre>
</div>
);
}