diff --git a/prisma/dev.db b/prisma/dev.db
index 84f9b01..3c17474 100644
Binary files a/prisma/dev.db and b/prisma/dev.db differ
diff --git a/src/app/lib/create.ts b/src/app/lib/create.ts
new file mode 100644
index 0000000..82fa361
--- /dev/null
+++ b/src/app/lib/create.ts
@@ -0,0 +1,12 @@
+"use server"
+import prisma from "./db"
+export async function createStory(data) {
+ console.log("CREATESTORY CALLED")
+ const id = await prisma.story.create({
+ data: {
+ title: "test",
+ word_count: 500
+ }
+ })
+
+}
diff --git a/src/app/story/create/page.tsx b/src/app/story/create/page.tsx
index 0165968..faa4575 100644
--- a/src/app/story/create/page.tsx
+++ b/src/app/story/create/page.tsx
@@ -1,7 +1,25 @@
import { getGenres } from "app/lib/get";
import StoryForm from "app/ui/forms/story";
-
+import prisma from "app/lib/db";
export default async function Page() {
const genres = await getGenres()
- return