A simple web app to track job opportunities during your search. Keep tabs on where you've applied, interview status, salary ranges, notes, and more — all in one place.
Built with Next.js, SQLite, and Tailwind CSS.
- Track opportunities with company, role, status, salary, location, and notes
- Filter by status (Saved, Applied, Interviewing, Offered, Rejected, Withdrawn, Accepted)
- Update status inline from the dashboard
- Archive or delete opportunities you no longer need
- Optional authentication (GitHub, Google, LinkedIn, or email magic link)
- Node.js 18+
- npm
- Clone the repo and install dependencies:
git clone <your-repo-url>
cd nextopp
npm install- Copy the example environment file:
cp .env.example .env.localThe default config (AUTH_DISABLED=true) lets you run locally with no additional setup.
- Set up the local database:
npm run db:push- Start the dev server:
npm run devOpen http://localhost:3000 and start tracking.
By default, auth is disabled so you can use the app immediately. To enable authentication, set AUTH_DISABLED=false and configure one or more providers below. Only providers with credentials configured will appear on the sign-in page.
All providers require an AUTH_SECRET:
AUTH_DISABLED=false
AUTH_SECRET=your-random-secret # Generate with: npx auth secret-
Create a GitHub OAuth App at github.com/settings/developers
- Set the callback URL to
http://localhost:3000/api/auth/callback/github
- Set the callback URL to
-
Add to
.env.local:
AUTH_GITHUB_ID=your-client-id
AUTH_GITHUB_SECRET=your-client-secret-
Create OAuth credentials in the Google Cloud Console
- Create an OAuth 2.0 Client ID (Web application type)
- Add
http://localhost:3000/api/auth/callback/googleas an authorized redirect URI
-
Add to
.env.local:
AUTH_GOOGLE_ID=your-client-id
AUTH_GOOGLE_SECRET=your-client-secret-
Create an app in the LinkedIn Developer Portal
- Under Auth, add
http://localhost:3000/api/auth/callback/linkedinas an authorized redirect URL - Request the Sign In with LinkedIn using OpenID Connect product
- Under Auth, add
-
Add to
.env.local:
AUTH_LINKEDIN_ID=your-client-id
AUTH_LINKEDIN_SECRET=your-client-secretPasswordless sign-in via email using Resend.
-
Create an account at resend.com and get an API key
-
Add to
.env.local:
AUTH_RESEND_KEY=your-api-key
AUTH_EMAIL_FROM="NextOpp <noreply@yourdomain.com>" # optional, defaults to noreply@resend.devTo limit who can sign in, set ALLOWED_USERS to a comma-separated list of GitHub usernames or email addresses:
ALLOWED_USERS=githubuser,someone@example.comLeave it empty to allow anyone who can authenticate with a configured provider.
# Install the Turso CLI
curl -sSfL https://get.tur.so/install.sh | bash
# Sign up / log in
turso auth login
# Create a database
turso db create nextopp
# Get your credentials
turso db show nextopp --url
turso db tokens create nextoppTURSO_DATABASE_URL=<your-url> TURSO_AUTH_TOKEN=<your-token> npm run db:push- Go to vercel.com, sign in, and click Add New Project
- Import your forked repository
- Add the following environment variables:
| Variable | Value |
|---|---|
TURSO_DATABASE_URL |
Your Turso database URL |
TURSO_AUTH_TOKEN |
Your Turso auth token |
AUTH_DISABLED |
true (set to false to enable auth) |
- Click Deploy
Once your app is deployed and you have your production URL:
- Set up one or more auth providers (see Authentication above), using your production URL for callback URLs (e.g.
https://nextopp.app/api/auth/callback/github) - Add these environment variables in Vercel:
| Variable | Value |
|---|---|
AUTH_DISABLED |
false |
AUTH_SECRET |
Generate with npx auth secret |
AUTH_GITHUB_ID |
GitHub OAuth client ID (optional) |
AUTH_GITHUB_SECRET |
GitHub OAuth client secret (optional) |
AUTH_GOOGLE_ID |
Google OAuth client ID (optional) |
AUTH_GOOGLE_SECRET |
Google OAuth client secret (optional) |
AUTH_LINKEDIN_ID |
LinkedIn OAuth client ID (optional) |
AUTH_LINKEDIN_SECRET |
LinkedIn OAuth client secret (optional) |
AUTH_RESEND_KEY |
Resend API key for email magic link (optional) |
AUTH_EMAIL_FROM |
Email sender address (optional) |
ALLOWED_USERS |
Comma-separated GitHub usernames or emails (leave empty to allow all) |
- Redeploy from the Vercel dashboard
To load sample data for local development:
npm run import -- scripts/sample-data.csv local-dev-userThis imports 28 opportunities with a mix of statuses, dates, and companies. You can re-run it after resetting the database if you want a fresh start:
rm local.db
npm run db:push
npm run import -- scripts/sample-data.csv local-dev-userTo import your own data, create a CSV with these columns:
Application Date,Company,Role,Work Mode,Location,Status,Job URL
- Application Date:
MM/DD/YYYYformat - Status:
saved,applied,interviewing,offered,rejected,withdrawn, oraccepted - Work Mode:
remote,hybrid, oronsite
Then run:
npm run import -- path/to/your-data.csv local-dev-userUnfinished pages (Dashboard, Insights, Settings, Alerts) are hidden behind feature flags built on the Vercel Flags SDK. When a flag is off, the sidebar link is hidden and the route returns 404; when it's on, the link appears and the page renders.
Flags default to off in every environment. Each is controlled by a FLAG_* environment variable — set it to true to enable that feature:
- Locally — add
FLAG_DASHBOARD=true(etc.) to.env.local. - Vercel Preview — add the
FLAG_*var under Settings → Environment Variables, scoped to the Preview environment, to dogfood an in-progress feature via a preview link without exposing it in Production. - Vercel Production — add the
FLAG_*var scoped to the Production environment when the feature is ready to ship.
Use Environment Variables, not the Vercel Flags dashboard. Vercel's dashboard has a separate "Flags" feature (with per-environment "Rules") whose values live in Edge Config —
process.envis never populated from it, so the code here cannot read it. These flags are plain environment variables. A Vercel env-var change only takes effect after a redeploy of that environment.
Flag definitions live in src/lib/flags.ts — add new flags there.
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run start |
Start production server |
npm run db:push |
Push schema changes to the database |
npm run db:generate |
Generate migration files |
npm run db:studio |
Open Drizzle Studio to browse your data |
npm run import -- <csv> <user-id> |
Import opportunities from a CSV file |
- Next.js — React framework
- Drizzle ORM — Type-safe database access
- SQLite / Turso — Database (local file for dev, Turso for production)
- Auth.js — Authentication
- Tailwind CSS + shadcn/ui — Styling and components
MIT