Skip to content

Commit

Permalink
implemented authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
WTanardi committed May 24, 2023
1 parent 2cf231a commit 26ac6b3
Show file tree
Hide file tree
Showing 21 changed files with 6,513 additions and 379 deletions.
4 changes: 3 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings

DATABASE_URL="postgresql://postgres:wlrb@localhost:5432/pantrypilot_db?schema=public"
DATABASE_URL="postgresql://postgres:wlrb@localhost:5432/pantrypilot_db?schema=public"
NEXTAUTH_SECRET=my_ultra_secure_nextauth_secret
NEXTAUTH_URL=http://localhost:3000
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
const nextConfig = {
experimental: {
appDir: true,
serverComponentsExternalPackages: ["@prisma/client", "bcrypt"],
},
images: {
domains: ["source.unsplash.com"],
Expand Down
Loading

0 comments on commit 26ac6b3

Please sign in to comment.