Skip to content

Commit 97a3274

Browse files
add Clerk environment variables to example
1 parent 3cf8a8a commit 97a3274

27 files changed

Lines changed: 1879 additions & 58 deletions

.env.example

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,15 @@ RESEND_API_KEY=
136136
APP_URL=
137137

138138
# Example Context Values for qwen2.5-coder:32b
139-
#
139+
#
140140
# DEFAULT_NUM_CTX=32768 # Consumes 36GB of VRAM
141141
# DEFAULT_NUM_CTX=24576 # Consumes 32GB of VRAM
142142
# DEFAULT_NUM_CTX=12288 # Consumes 26GB of VRAM
143143
# DEFAULT_NUM_CTX=6144 # Consumes 24GB of VRAM
144144
DEFAULT_NUM_CTX=
145+
146+
# Clerk Authentication
147+
# Get your keys from https://dashboard.clerk.com/
148+
# Required for user authentication
149+
VITE_CLERK_PUBLISHABLE_KEY=
150+
CLERK_SECRET_KEY=

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,5 @@ CLAUDE.md
5151

5252
AGENTS.md*
5353
.mcp.json
54-
.claude
54+
.claude
55+
/app/generated/prisma
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
CREATE TABLE "users" (
2+
"id" text PRIMARY KEY NOT NULL,
3+
"full_name" text NOT NULL,
4+
"email" text NOT NULL,
5+
"app_version" text,
6+
"platform" text,
7+
"email_opt_in" boolean DEFAULT true,
8+
"registered_at" timestamp DEFAULT now(),
9+
"last_login" timestamp,
10+
"created_at" timestamp DEFAULT now(),
11+
"updated_at" timestamp DEFAULT now(),
12+
CONSTRAINT "users_email_unique" UNIQUE("email")
13+
);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ALTER TABLE "users" ADD COLUMN "verification_token" text;--> statement-breakpoint
2+
ALTER TABLE "users" ADD COLUMN "email_verified" boolean DEFAULT false;--> statement-breakpoint
3+
ALTER TABLE "users" ADD COLUMN "verification_sent_at" timestamp;--> statement-breakpoint
4+
ALTER TABLE "users" ADD COLUMN "verification_expires_at" timestamp;--> statement-breakpoint
5+
ALTER TABLE "users" ADD COLUMN "consent_given_at" timestamp;--> statement-breakpoint
6+
ALTER TABLE "users" ADD COLUMN "consent_version" text;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "users" ADD COLUMN "password_hash" text NOT NULL;
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{
2+
"id": "d5302dcb-5019-48a5-a878-c971c494ec90",
3+
"prevId": "00000000-0000-0000-0000-000000000000",
4+
"version": "7",
5+
"dialect": "postgresql",
6+
"tables": {
7+
"public.users": {
8+
"name": "users",
9+
"schema": "",
10+
"columns": {
11+
"id": {
12+
"name": "id",
13+
"type": "text",
14+
"primaryKey": true,
15+
"notNull": true
16+
},
17+
"full_name": {
18+
"name": "full_name",
19+
"type": "text",
20+
"primaryKey": false,
21+
"notNull": true
22+
},
23+
"email": {
24+
"name": "email",
25+
"type": "text",
26+
"primaryKey": false,
27+
"notNull": true
28+
},
29+
"app_version": {
30+
"name": "app_version",
31+
"type": "text",
32+
"primaryKey": false,
33+
"notNull": false
34+
},
35+
"platform": {
36+
"name": "platform",
37+
"type": "text",
38+
"primaryKey": false,
39+
"notNull": false
40+
},
41+
"email_opt_in": {
42+
"name": "email_opt_in",
43+
"type": "boolean",
44+
"primaryKey": false,
45+
"notNull": false,
46+
"default": true
47+
},
48+
"registered_at": {
49+
"name": "registered_at",
50+
"type": "timestamp",
51+
"primaryKey": false,
52+
"notNull": false,
53+
"default": "now()"
54+
},
55+
"last_login": {
56+
"name": "last_login",
57+
"type": "timestamp",
58+
"primaryKey": false,
59+
"notNull": false
60+
},
61+
"created_at": {
62+
"name": "created_at",
63+
"type": "timestamp",
64+
"primaryKey": false,
65+
"notNull": false,
66+
"default": "now()"
67+
},
68+
"updated_at": {
69+
"name": "updated_at",
70+
"type": "timestamp",
71+
"primaryKey": false,
72+
"notNull": false,
73+
"default": "now()"
74+
}
75+
},
76+
"indexes": {},
77+
"foreignKeys": {},
78+
"compositePrimaryKeys": {},
79+
"uniqueConstraints": {
80+
"users_email_unique": {
81+
"name": "users_email_unique",
82+
"nullsNotDistinct": false,
83+
"columns": ["email"]
84+
}
85+
},
86+
"policies": {},
87+
"checkConstraints": {},
88+
"isRLSEnabled": false
89+
}
90+
},
91+
"enums": {},
92+
"schemas": {},
93+
"sequences": {},
94+
"roles": {},
95+
"policies": {},
96+
"views": {},
97+
"_meta": {
98+
"columns": {},
99+
"schemas": {},
100+
"tables": {}
101+
}
102+
}
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
{
2+
"id": "f10efb57-0441-49d2-88c2-29e92fb4e962",
3+
"prevId": "d5302dcb-5019-48a5-a878-c971c494ec90",
4+
"version": "7",
5+
"dialect": "postgresql",
6+
"tables": {
7+
"public.users": {
8+
"name": "users",
9+
"schema": "",
10+
"columns": {
11+
"id": {
12+
"name": "id",
13+
"type": "text",
14+
"primaryKey": true,
15+
"notNull": true
16+
},
17+
"full_name": {
18+
"name": "full_name",
19+
"type": "text",
20+
"primaryKey": false,
21+
"notNull": true
22+
},
23+
"email": {
24+
"name": "email",
25+
"type": "text",
26+
"primaryKey": false,
27+
"notNull": true
28+
},
29+
"app_version": {
30+
"name": "app_version",
31+
"type": "text",
32+
"primaryKey": false,
33+
"notNull": false
34+
},
35+
"platform": {
36+
"name": "platform",
37+
"type": "text",
38+
"primaryKey": false,
39+
"notNull": false
40+
},
41+
"email_opt_in": {
42+
"name": "email_opt_in",
43+
"type": "boolean",
44+
"primaryKey": false,
45+
"notNull": false,
46+
"default": true
47+
},
48+
"registered_at": {
49+
"name": "registered_at",
50+
"type": "timestamp",
51+
"primaryKey": false,
52+
"notNull": false,
53+
"default": "now()"
54+
},
55+
"last_login": {
56+
"name": "last_login",
57+
"type": "timestamp",
58+
"primaryKey": false,
59+
"notNull": false
60+
},
61+
"created_at": {
62+
"name": "created_at",
63+
"type": "timestamp",
64+
"primaryKey": false,
65+
"notNull": false,
66+
"default": "now()"
67+
},
68+
"updated_at": {
69+
"name": "updated_at",
70+
"type": "timestamp",
71+
"primaryKey": false,
72+
"notNull": false,
73+
"default": "now()"
74+
},
75+
"verification_token": {
76+
"name": "verification_token",
77+
"type": "text",
78+
"primaryKey": false,
79+
"notNull": false
80+
},
81+
"email_verified": {
82+
"name": "email_verified",
83+
"type": "boolean",
84+
"primaryKey": false,
85+
"notNull": false,
86+
"default": false
87+
},
88+
"verification_sent_at": {
89+
"name": "verification_sent_at",
90+
"type": "timestamp",
91+
"primaryKey": false,
92+
"notNull": false
93+
},
94+
"verification_expires_at": {
95+
"name": "verification_expires_at",
96+
"type": "timestamp",
97+
"primaryKey": false,
98+
"notNull": false
99+
},
100+
"consent_given_at": {
101+
"name": "consent_given_at",
102+
"type": "timestamp",
103+
"primaryKey": false,
104+
"notNull": false
105+
},
106+
"consent_version": {
107+
"name": "consent_version",
108+
"type": "text",
109+
"primaryKey": false,
110+
"notNull": false
111+
}
112+
},
113+
"indexes": {},
114+
"foreignKeys": {},
115+
"compositePrimaryKeys": {},
116+
"uniqueConstraints": {
117+
"users_email_unique": {
118+
"name": "users_email_unique",
119+
"nullsNotDistinct": false,
120+
"columns": ["email"]
121+
}
122+
},
123+
"policies": {},
124+
"checkConstraints": {},
125+
"isRLSEnabled": false
126+
}
127+
},
128+
"enums": {},
129+
"schemas": {},
130+
"sequences": {},
131+
"roles": {},
132+
"policies": {},
133+
"views": {},
134+
"_meta": {
135+
"columns": {},
136+
"schemas": {},
137+
"tables": {}
138+
}
139+
}

0 commit comments

Comments
 (0)