npm i
- setup env variables (see below)
npm run dev
In order to run this project, you'll need to create a .env
file based on the .env.sample
file.
- create an imagekit account
- navigate to https://imagekit.io/dashboard/developer/api-keys
- copy the necessary keys and put into .env
- NEXT_PUBLIC_PUBLIC_KEY
- NEXT_PUBLIC_URL_ENDPOINT
- PRIVATE_KEY
- create a neon account and setup a neon database
- copy the connection string and paste into the .env file for DRIZZLE_DATABASE_URL
By default, this starter only comes with the google provider which you'll need to setup:
- https://console.cloud.google.com/apis/credentials
- create a new project
- setup oauth consent screen
- create credentials - oauth client id
- for authorized javascript origins
- Authorized redirect URIs
- Set your google id and secret inside of .env
- AUTH_GOOGLE_ID
- AUTH_GOOGLE_SECRET