Skip to content

Commit df1800a

Browse files
add some settings and remove unused files
1 parent a552395 commit df1800a

21 files changed

+57
-546
lines changed

.env.example

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1 @@
1-
### These env vars are for authentication & database to work. If you don't require them, feel free to enter dummy values for all these.
2-
3-
# Create a free PostgreSQL database with 2 clicks (no account needed): https://dev.new/
4-
DATABASE_URL=
5-
6-
# Follow the instructions here to create a Google OAuth app: https://refine.dev/blog/nextauth-google-github-authentication-nextjs/#for-googleprovider-make-sure-you-have-a-google-account
7-
GOOGLE_CLIENT_ID=
8-
GOOGLE_CLIENT_SECRET=
9-
10-
# Only for production – generate one here: https://generate-secret.vercel.app/32
11-
NEXTAUTH_SECRET=
1+
OPENAI_API_KEY=

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,10 @@ yarn-error.log*
3535
# typescript
3636
*.tsbuildinfo
3737
next-env.d.ts
38+
39+
# IDEs
40+
.vscode
41+
**/.idea
42+
**/coverage
43+
*.sublime-project
44+
*.sublime-workspace

components/home/demo-modal.tsx

-58
This file was deleted.

components/home/web-vitals.tsx

-37
This file was deleted.

components/layout/sign-in-modal.tsx

-86
This file was deleted.

components/layout/user-dropdown.tsx

-65
This file was deleted.

components/shared/icons/github.tsx

-14
This file was deleted.

components/shared/icons/google.tsx

-47
This file was deleted.

components/shared/icons/twitter.tsx

-14
This file was deleted.

lib/prisma.ts

-11
This file was deleted.

next.config.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ const nextConfig = {
66
domains: ["lh3.googleusercontent.com"],
77
},
88
async redirects() {
9-
return [
10-
{
11-
source: "/github",
12-
destination: "https://github.com/steven-tey/precedent",
13-
permanent: false,
14-
},
15-
];
9+
return [];
1610
},
1711
};
1812

0 commit comments

Comments
 (0)