A modern job posting platform built with Next.js, Prisma, NextAuth, and a UI component library (Shadcn/UI or Material UI).
User authentication with NextAuth (Google, GitHub, and email login) Secure database integration using Prisma ORM and PostgreSQL Job listing management (Create, Read, Update, Delete jobs) Role-based access (Admin & Job Seekers) Server Actions for seamless backend integration
- Frontend: Next.js, React, Shadcn/UI (or Material UI)
- Backend: Next.js API Routes, Prisma ORM
- Authentication: NextAuth.js
- Database: PostgreSQL (Neon.tech or Supabase)
- Styling: Tailwind CSS
- Clone the repository:
git clone https://github.com/yourusername/job-posting-platform.git cd job-posting-platform
- Install dependencies:
npm install
- Set up environment variables:
- Create a
.env
file in the root directory and add:DATABASE_URL="your_postgresql_connection_string" NEXTAUTH_SECRET="your_secret_key" NEXTAUTH_URL="http://localhost:3000" GITHUB_CLIENT_ID="your_github_client_id" GITHUB_CLIENT_SECRET="your_github_client_secret"
- Create a
- Run Prisma migrations:
npx prisma migrate dev --name init
- Start the development server: npm run dev
- Visit
http://localhost:3000
- Sign in using Google/GitHub
- Post jobs (Admins) or Apply for jobs (Users)
"yes i m lazy enough to write this readme bt starving enough to write the efficient code to push into the prod in a one go"