Resume Check Karo depends on four external services — PostgreSQL, Clerk, Google Gemini AI, and ImageKit — each of which requires its own credentials. This guide walks through obtaining every key and wiring it into your localDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/nayalsaurav/resume-analyzer/llms.txt
Use this file to discover all available pages before exploring further.
.env.local file so the application starts cleanly. None of the services require a paid plan to get started; all offer generous free tiers suitable for development and personal use.
Create Your .env.local File
Create a file named .env.local in the root of the project directory. All environment variables listed below must be present for the app to start correctly:
.env.local
PostgreSQL / Prisma
Resume Check Karo uses Prisma as its ORM with a PostgreSQL database. TheDATABASE_URL variable must be a valid PostgreSQL connection string in the following format:
- Neon (recommended for serverless) — Create a free project at neon.tech. After provisioning, copy the connection string from the Connection Details panel in your project dashboard.
- Supabase — Create a free project at supabase.com. Find your connection string under Project Settings → Database → Connection string → URI.
- Local PostgreSQL — If you have Postgres installed locally, your URL typically looks like
postgresql://postgres:password@localhost:5432/resume_checker.
DATABASE_URL is set, apply the schema and generate the Prisma client:
Clerk Authentication
Clerk handles user sign-up, sign-in, and session management. You need two keys: a publishable key (safe to expose to the browser) and a secret key (server-only).Create a Clerk Application
Sign up or log in at clerk.com. From the Clerk dashboard, click Create application, give it a name (e.g.
Resume Check Karo), and choose your preferred sign-in methods (Email, Google, GitHub, etc.).Copy Your API Keys
In the left sidebar, navigate to API Keys. Copy both values:Keys prefixed with
pk_test_ and sk_test_ are development keys. Production deployments use pk_live_ and sk_live_ keys generated from the same screen.Google Gemini AI
The analysis engine is powered by Google Gemini AI through the@google/genai SDK. You need an API key and a model name.
Get Your API Key from Google AI Studio
Go to aistudio.google.com and sign in with your Google account. Click Get API key in the left sidebar, then Create API key. Copy the generated key:
Both
gemini-1.5-flash and gemini-1.5-pro are available on the Google AI Studio free tier with generous rate limits, making them well suited for development and personal use without a billing account.ImageKit
ImageKit handles PDF and image file storage. Resume Check Karo uses the@imagekit/next SDK on the client side and the imagekit Node.js SDK on the server side for authenticated uploads.
Create an ImageKit Account
Sign up at imagekit.io. After registration, your account is provisioned with a unique ImageKit ID which appears in your URL endpoint.
Complete .env.local Reference
Here is the full environment file with all variables in one place for easy copy-paste:
.env.local