# JobRant - The Global Job Application Platform

## Project Overview
JobRant is a full-stack Next.js application with PostgreSQL database, designed as a brutally honest job seeker social network where:
- Users apply once globally and their profile is distributed to matching companies
- Job seekers can rant/report problems with companies
- Employers pay users to unlock contact info and get honest feedback
- AI helps connect users with real people at companies
- Live chat between job seekers
- Company statistics and ratings

## Tech Stack
- **Frontend:** Next.js 14 (App Router), React 18, TypeScript, Tailwind CSS
- **Backend:** Next.js API Routes, tRPC-style patterns
- **Database:** PostgreSQL via Prisma ORM
- **Auth:** NextAuth.js (Google, GitHub, LinkedIn OAuth)
- **Payments:** Stripe Connect (marketplace model)
- **AI:** OpenAI API for summaries and recommendations
- **Real-time:** Socket.io (future) or polling
- **Container:** Docker + Docker Compose

## Commands
```bash
npm run dev          # Start development server
npm run build        # Build for production
npm run db:generate  # Generate Prisma client
npm run db:push      # Push schema to database
npm run db:studio    # Open Prisma Studio
npm run lint         # Run ESLint
```

## Database
The database is PostgreSQL. Configure via `DATABASE_URL` in `.env`.
Run `docker-compose up -d` to start the PostgreSQL container.

## Key Files
- `prisma/schema.prisma` - Database schema
- `src/app/api/` - API routes
- `src/components/` - React components
- `src/lib/` - Utilities and Prisma client
