This is a Next.js project bootstrapped with create-next-app
.
STEPS TO RUN THE PROJECT:
Firstly, you need GOOGLE_CLIENT_SECRET and GOOGLE_CLIENT_ID in .env file to use Google Auth in the project. You can create yours at https://console.cloud.google.com/apis/credentials, create a new project if you don't have one and click on create credentials, it takes 2 minutes.
1- Install the modules:
npm i
2- Configure husky:
npm run prepare
2- Setup database:
npx prisma migrate dev --name "db-init"
3- Configure .env file
Copy .env.example and create a .env file in root directory
4- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev