npm install
, then createdrizzle.config.ts
using Postgres
/** @type { import("drizzle-kit").Config } */
export default {
schema: './utils/schema.js',
dialect: 'postgresql',
dbCredentials: {
url: 'YOUR_DB_URL',
}
};
- Create
.env.local
, thennpm run dev
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_DATABASE_URL="YOUR_DB_URL"
NEXT_PUBLIC_GEMINI_API_KEY=