Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

Init prisma

MohamedBassem61b08abf0083
diff --git a/bun.lockb b/bun.lockb
index cea45a11..5b2333a2 100755
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/package.json b/package.json
index 686b6978..ae7deb01 100644
--- a/package.json
+++ b/package.json
@@ -9,9 +9,10 @@
"lint": "next lint"
},
"dependencies": {
+ "next": "14.1.0",
+ "prisma": "^5.9.1",
"react": "^18",
- "react-dom": "^18",
- "next": "14.1.0"
+ "react-dom": "^18"
},
"devDependencies": {
"typescript": "^5",
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
new file mode 100644
index 00000000..e0020544
--- /dev/null
+++ b/prisma/schema.prisma
@@ -0,0 +1,11 @@
+// This is your Prisma schema file,
+// learn more about it in the docs: https://pris.ly/d/prisma-schema
+
+generator client {
+ provider = "prisma-client-js"
+}
+
+datasource db {
+ provider = "sqlite"
+ url = env("DATABASE_URL")
+}