This is a Next.js project bootstrapped with create-next-app
.
First things first, Install PNPM by following documentation given below (ignore if installed already) https://pnpm.io/installation
First, run the development server:
pnpm install
pnpm run dev
Open http://localhost:3000 with your browser to see the result.
This project uses Auth.js (formerly NextAuth.js) for authentication. To get started with authentication, follow the Auth.js documentation.
This project uses Prisma as the ORM and PostgreSQL as the database. To set up the database, follow these steps:
Update your .env
file with your PostgreSQL connection string:
DATABASE_URL="postgresql://user:password@localhost:5432/mydb"
Run the Prisma migrations to set up your database schema:
pnpm prisma migrate dev
This project uses shadcn for UI components. To learn more about using shadcn, refer to the shadcn documentation.