Skip to content

Commit

Permalink
Merge pull request #88 from zsh-eng/authentication
Browse files Browse the repository at this point in the history
add authentication
  • Loading branch information
zsh-eng authored Apr 27, 2024
2 parents 961338f + 84c921f commit 69d5e04
Show file tree
Hide file tree
Showing 35 changed files with 881 additions and 197 deletions.
8 changes: 7 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@
TURSO_AUTH_TOKEN=
TURSO_DATABASE_URL=
# For uploading images to Cloudflare
CLOUDFLARE_IMAGE_UPLOAD_WORKER_TOKEN=
CLOUDFLARE_IMAGE_UPLOAD_WORKER_TOKEN=

# NextAuth
# See https://authjs.dev/guides/configuring-github
AUTH_SECRET=
AUTH_GITHUB_ID=
AUTH_GITHUB_SECRET=
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"obsidian:import": "tsx --env-file=.env src/scripts/import.ts"
},
"dependencies": {
"@auth/drizzle-adapter": "^1.0.1",
"@hookform/resolvers": "^3.3.4",
"@libsql/client": "^0.6.0",
"@milkdown/core": "^7.3.6",
Expand All @@ -31,6 +32,7 @@
"@milkdown/theme-nord": "^7.3.6",
"@milkdown/transformer": "^7.3.6",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "^2.0.2",
Expand All @@ -47,6 +49,7 @@
"@trpc/server": "11.0.0-rc.332",
"@types/better-sqlite3": "^7.6.9",
"@uidotdev/usehooks": "^2.4.1",
"@vercel/speed-insights": "^1.0.10",
"animate.css": "^4.1.1",
"better-sqlite3": "^9.4.5",
"class-variance-authority": "^0.7.0",
Expand All @@ -59,6 +62,7 @@
"lodash": "^4.17.21",
"lucide-react": "^0.365.0",
"next": "14.1.4",
"next-auth": "5.0.0-beta.17",
"next-themes": "^0.3.0",
"react": "^18",
"react-dom": "^18",
Expand All @@ -79,7 +83,7 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.0.1",
"drizzle-kit": "^0.20.14",
"drizzle-kit": "^0.20.17",
"eslint": "^8",
"eslint-config-next": "14.1.4",
"gray-matter": "^4.0.3",
Expand Down
Loading

0 comments on commit 69d5e04

Please sign in to comment.