File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change
1
+ DATABASE_HOST = " localhost"
2
+ DATABASE_NAME = " mydatabase"
3
+ DATABASE_PORT = " 5432"
4
+ DATABASE_USERNAME = " myuser"
5
+ DATABASE_PASSWORD = " mypassword"
6
+ DATABASE_URL = " postgresql://USERNAME:PASSWORD@HOST:PORT/NAME?schema=public"
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
2
+
3
+ export default function DashboardPage ( ) {
4
+ return (
5
+ < div >
6
+ < div > Coming soon...</ div >
7
+ </ div >
8
+ ) ;
9
+ }
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ import { Button } from "@/components/ui/button";
2
2
import { prisma } from "@/lib/prisma" ;
3
3
4
4
export default async function Home ( ) {
5
- const users = await prisma . user . findMany ( ) ;
6
- console . log ( users ) ;
5
+ // Commented out to remove env error
6
+ // const users = await prisma.user.findMany();
7
+ // console.log(users);
7
8
8
9
return (
9
10
< main className = "flex min-h-screen flex-col items-center justify-between p-24" >
You can’t perform that action at this time.
0 commit comments