{"id":28816795,"url":"https://github.com/ayoubhayda/hireek-platform","last_synced_at":"2026-04-07T09:31:58.775Z","repository":{"id":306016270,"uuid":"1001393331","full_name":"ayoubhayda/hireek-platform","owner":"ayoubhayda","description":"Next-gen SaaS recruitment platform for companies and job seekers, powered by Next.js, TailwindCSS, Prisma, Inngest, Auth.js, and more.","archived":false,"fork":false,"pushed_at":"2026-01-24T15:24:14.000Z","size":20037,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-25T04:25:47.326Z","etag":null,"topics":["arcjet","full-stack-application","full-stack-nextjs","inngest","job-board","job-portal","neon","nextjs","postgres","prisma","reactjs","saas","shadcn-ui","stripe","tailwindcss","typescript","uploadthing","useform-hooks","zod"],"latest_commit_sha":null,"homepage":"https://hireek-platform.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayoubhayda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-13T09:53:56.000Z","updated_at":"2026-01-24T15:24:18.000Z","dependencies_parsed_at":"2025-07-23T08:12:45.679Z","dependency_job_id":null,"html_url":"https://github.com/ayoubhayda/hireek-platform","commit_stats":null,"previous_names":["ayoubhayda/hireek-platform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ayoubhayda/hireek-platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayoubhayda%2Fhireek-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayoubhayda%2Fhireek-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayoubhayda%2Fhireek-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayoubhayda%2Fhireek-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayoubhayda","download_url":"https://codeload.github.com/ayoubhayda/hireek-platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayoubhayda%2Fhireek-platform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31508007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arcjet","full-stack-application","full-stack-nextjs","inngest","job-board","job-portal","neon","nextjs","postgres","prisma","reactjs","saas","shadcn-ui","stripe","tailwindcss","typescript","uploadthing","useform-hooks","zod"],"created_at":"2025-06-18T17:07:02.898Z","updated_at":"2026-04-07T09:31:58.769Z","avatar_url":"https://github.com/ayoubhayda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🚀 Hireek — Modern SaaS Recruitment Platform\n\n### Connect Companies with Top Talent Seamlessly\n\n[![Next.js](https://img.shields.io/badge/Next.js-15.3-black?style=for-the-badge\u0026logo=next.js)](https://nextjs.org/)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue?style=for-the-badge\u0026logo=typescript)](https://www.typescriptlang.org/)\n[![Prisma](https://img.shields.io/badge/Prisma-6.6-2D3748?style=for-the-badge\u0026logo=prisma)](https://www.prisma.io/)\n[![TailwindCSS](https://img.shields.io/badge/Tailwind-4.x-38B2AC?style=for-the-badge\u0026logo=tailwind-css)](https://tailwindcss.com/)\n[![License](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](LICENSE)\n\n**Hireek** is a full-featured SaaS recruitment platform that bridges the gap between companies and job seekers. Built with cutting-edge technologies, it delivers a seamless, secure, and lightning-fast hiring experience for both employers and candidates.\n\n[Features](#-features) • [Tech Stack](#-tech-stack) • [Getting Started](#-getting-started) • [Documentation](#-project-structure) • [Deployment](#-deployment)\n\n\u003c/div\u003e\n\n---\n\n## 📖 Table of Contents\n\n- [Overview](#-overview)\n- [Features](#-features)\n- [Tech Stack](#-tech-stack)\n- [Getting Started](#-getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n  - [Environment Configuration](#environment-configuration)\n  - [Database Setup](#database-setup)\n  - [Running the Application](#running-the-application)\n- [Project Structure](#-project-structure)\n- [Database Schema](#-database-schema)\n- [Available Scripts](#-available-scripts)\n- [Deployment](#-deployment)\n- [Testing](#-testing)\n- [Contributing](#-contributing)\n- [License](#-license)\n\n---\n\n## 🌟 Overview\n\nHireek is designed to revolutionize the recruitment process by providing:\n\n- 🏢 **For Companies**: Post jobs, manage applications, review candidates, and hire top talent\n- 👔 **For Job Seekers**: Discover opportunities, submit applications, track progress, and land dream jobs\n- 🔒 **Enterprise Security**: Powered by Arcjet for bot protection and runtime security\n- ⚡ **Blazing Fast**: Built on Next.js 15 with App Router and React Server Components\n- 🌐 **Production Ready**: Deployed on Vercel with edge performance globally\n\n---\n\n## ✨ Features\n\n### 🔐 Authentication \u0026 Security\n- 🔑 OAuth authentication via **Google** and **GitHub** (Auth.js v5-beta)\n- 🛡️ Enterprise-grade security with **Arcjet** (bot protection, rate limiting)\n- 👤 Role-based access control (Company vs Job Seeker)\n- 🔒 Secure session management\n\n### 🏢 Company Dashboard\n- ✅ Guided onboarding flow for company setup\n- 📝 Create, edit, and manage job postings (draft/active/expired states)\n- 👥 Review and manage candidate applications\n- ⭐ Mark favorite candidates\n- 📊 Track job post performance and expiration\n- 💼 Company profile with logo, website, and social links\n\n### 👔 Job Seeker Dashboard\n- 📄 Profile creation with resume uploads via **UploadThings**\n- 🔍 Browse and search job listings\n- 📤 Submit applications with cover letters\n- 📊 Track application history and status\n- ⭐ Save favorite job posts\n- 🔔 Receive notifications\n\n### ⚙️ Power Features\n- 📬 **Background Jobs**: Automated job expiration workflows via **Inngest**\n- 💳 **Payments**: Stripe integration for premium listings and subscriptions\n- 📤 **File Uploads**: Seamless resume and logo uploads via **UploadThings**\n- 🎨 **Modern UI**: Beautiful components from **shadcn/ui** with Tailwind CSS\n- 🌙 **Dark Mode**: Full dark/light theme support with **next-themes**\n- 💨 **Optimized UX**: Skeleton loaders and optimistic UI updates\n- 📱 **Responsive Design**: Mobile-first, works flawlessly on all devices\n- 📧 **Email Notifications**: Transactional emails via **Resend**\n\n---\n\n## 🛠 Tech Stack\n\n### Frontend\n| Technology | Purpose |\n|-----------|---------|\n| [Next.js 15](https://nextjs.org/) | React framework with App Router, RSC, and SSR |\n| [React 19](https://react.dev/) | UI library with latest features |\n| [TypeScript](https://www.typescriptlang.org/) | Type-safe development |\n| [Tailwind CSS](https://tailwindcss.com/) | Utility-first CSS framework |\n| [shadcn/ui](https://ui.shadcn.com/) | Beautiful, accessible component library |\n| [next-themes](https://github.com/pacocoursey/next-themes) | Dark mode implementation |\n| [Lucide React](https://lucide.dev/) | Beautiful icon library |\n\n### Backend \u0026 Database\n| Technology | Purpose |\n|-----------|---------|\n| [Prisma](https://www.prisma.io/) | Next-generation ORM |\n| [Neon PostgreSQL](https://neon.tech/) | Serverless Postgres database |\n| [Auth.js](https://authjs.dev/) | OAuth authentication |\n| [Zod](https://zod.dev/) | TypeScript-first schema validation |\n\n### Infrastructure \u0026 Services\n| Technology | Purpose |\n|-----------|---------|\n| [Vercel](https://vercel.com/) | Deployment and hosting |\n| [Arcjet](https://arcjet.com/) | Security (bot protection, rate limiting) |\n| [Inngest](https://inngest.com/) | Background job processing |\n| [UploadThings](https://uploadthing.com/) | File uploads and management |\n| [Stripe](https://stripe.com/) | Payment processing |\n| [Resend](https://resend.com/) | Transactional emails |\n\n### Development Tools\n| Technology | Purpose |\n|-----------|---------|\n| [pnpm](https://pnpm.io/) | Fast, disk space efficient package manager |\n| [ESLint](https://eslint.org/) | Code linting and quality |\n| [Turbopack](https://turbo.build/) | Next-gen bundler for faster dev |\n\n---\n\n## 🚀 Getting Started\n\n### Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- **Node.js** 20.x or higher\n- **pnpm** 9.x or higher\n- **PostgreSQL** database (we recommend [Neon](https://neon.tech/) for serverless)\n- **Git** for version control\n\n### Installation\n\n1. **Clone the repository**\n\n```bash\ngit clone https://github.com/ayoubhayda/hireek-platform.git\ncd hireek-platform\n```\n\n2. **Install dependencies**\n\n```bash\npnpm install\n```\n\n### Environment Configuration\n\n3. **Create environment file**\n\nCopy the example environment file:\n\n```bash\ncp .env.exemple .env.local\n```\n\n4. **Configure environment variables**\n\nOpen `.env.local` and fill in the following variables:\n\n```bash\n# =============================================================================\n# Authentication (Auth.js)\n# =============================================================================\n# Generate a secret: npx auth secret\nAUTH_SECRET=\"\"\n\n# Google OAuth\n# Get credentials: https://console.cloud.google.com/apis/credentials\nAUTH_GOOGLE_ID=\"\"\nAUTH_GOOGLE_SECRET=\"\"\n\n# GitHub OAuth\n# Get credentials: https://github.com/settings/developers\nAUTH_GITHUB_ID=\"\"\nAUTH_GITHUB_SECRET=\"\"\n\n# =============================================================================\n# Database (Neon PostgreSQL)\n# =============================================================================\n# Get your connection string: https://console.neon.tech/\nDATABASE_URL=\"\"\n\n# =============================================================================\n# File Uploads (UploadThings)\n# =============================================================================\n# Get your token: https://uploadthing.com/dashboard\nUPLOADTHING_TOKEN=\"\"\n\n# =============================================================================\n# Security (Arcjet)\n# =============================================================================\n# Get your key: https://app.arcjet.com/\nARCJET_KEY=\"\"\n\n# =============================================================================\n# Payments (Stripe)\n# =============================================================================\n# Get keys: https://dashboard.stripe.com/apikeys\nSECRET_STRIPE_KEY=\"\"\nSTRIPE_WEBHOOK_SECRET=\"\"\n\n# =============================================================================\n# Email (Resend)\n# =============================================================================\n# Get key: https://resend.com/api-keys\nRESEND_API_KEY=\"\"\n\n# =============================================================================\n# Application\n# =============================================================================\n# Your app URL (use http://localhost:3000 for development)\nNEXT_PUBLIC_BASE_URL=\"http://localhost:3000\"\n```\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003e📝 How to Get Each API Key\u003c/b\u003e\u003c/summary\u003e\n\n#### Auth.js Secret\n```bash\nnpx auth secret\n```\n\n#### Google OAuth\n1. Go to [Google Cloud Console](https://console.cloud.google.com/)\n2. Create a new project or select existing\n3. Enable Google+ API\n4. Create OAuth 2.0 credentials\n5. Add authorized redirect URI: `http://localhost:3000/api/auth/callback/google`\n\n#### GitHub OAuth\n1. Go to [GitHub Developer Settings](https://github.com/settings/developers)\n2. Create new OAuth App\n3. Set callback URL: `http://localhost:3000/api/auth/callback/github`\n\n#### Neon PostgreSQL\n1. Sign up at [Neon](https://neon.tech/)\n2. Create a new project\n3. Copy the connection string from the dashboard\n\n#### UploadThings\n1. Sign up at [UploadThings](https://uploadthing.com/)\n2. Create a new app\n3. Copy the token from settings\n\n#### Arcjet\n1. Sign up at [Arcjet](https://arcjet.com/)\n2. Create a new site\n3. Copy the API key\n\n#### Stripe\n1. Sign up at [Stripe](https://stripe.com/)\n2. Get your secret key from the [API keys page](https://dashboard.stripe.com/apikeys)\n3. For webhooks, install [Stripe CLI](https://stripe.com/docs/stripe-cli) and run `stripe listen --forward-to localhost:3000/api/webhooks/stripe`\n\n#### Resend\n1. Sign up at [Resend](https://resend.com/)\n2. Create an API key from the dashboard\n\n\u003c/details\u003e\n\n### Database Setup\n\n5. **Initialize the database**\n\nPush the Prisma schema to your database:\n\n```bash\npnpm dlx prisma db push\n```\n\n6. **(Optional) Open Prisma Studio**\n\nExplore your database with a visual editor:\n\n```bash\npnpm dlx prisma studio\n```\n\n### Running the Application\n\n7. **Start the development server**\n\n```bash\npnpm dev\n```\n\nThe application will be available at [http://localhost:3000](http://localhost:3000) 🎉\n\n---\n\n## 📁 Project Structure\n\n```\nhireek-platform/\n├── src/\n│   ├── app/                      # Next.js App Router pages\n│   │   ├── (auth)/              # Authentication routes\n│   │   ├── (dashboard)/         # Protected dashboard routes\n│   │   ├── api/                 # API routes\n│   │   └── layout.tsx           # Root layout\n│   ├── components/              # React components\n│   │   ├── ui/                  # shadcn/ui components\n│   │   ├── forms/               # Form components\n│   │   └── ...                  # Feature components\n│   ├── lib/                     # Utility libraries\n│   │   ├── auth.ts              # Auth.js configuration\n│   │   ├── db.ts                # Prisma client\n│   │   └── stripe.ts            # Stripe configuration\n│   ├── utils/                   # Helper functions\n│   ├── inngest/                 # Background job functions\n│   ├── generated/               # Prisma generated client\n│   └── constants/               # App constants\n├── prisma/\n│   └── schema.prisma            # Database schema\n├── public/                      # Static assets\n├── .env.local                   # Environment variables (create this)\n├── .env.exemple                 # Environment template\n├── next.config.ts               # Next.js configuration\n├── tailwind.config.ts           # Tailwind configuration\n├── tsconfig.json                # TypeScript configuration\n└── package.json                 # Dependencies\n```\n\n---\n\n## 🗄 Database Schema\n\nThe platform uses the following core models:\n\n### Core Models\n\n```prisma\nmodel User {\n  id                   String    @id @default(cuid())\n  email                String    @unique\n  name                 String?\n  userType             UserType? (COMPANY | JOB_SEEKER)\n  onboardingComplete   Boolean   @default(false)\n  company              Company?\n  jobSeeker            JobSeeker?\n  savedJobs            SavedJob[]\n}\n\nmodel Company {\n  id        String   @id @default(cuid())\n  name      String\n  location  String\n  about     String\n  website   String\n  logo      String\n  jobs      Job[]\n}\n\nmodel JobSeeker {\n  id              String           @id @default(cuid())\n  name            String\n  about           String\n  resume          String\n  jobApplications JobApplication[]\n}\n\nmodel Job {\n  id              String      @id @default(cuid())\n  jobTitle        String\n  jobDescription  String\n  employmentType  String\n  location        String\n  salaryFrom      Int\n  salaryTo        Int\n  benefits        String[]\n  status          JobStatus   (DRAFT | ACTIVE | EXPIRED)\n  jobApplications JobApplication[]\n}\n\nmodel JobApplication {\n  id            String    @id @default(cuid())\n  jobId         String\n  jobSeekerId   String\n  resume        String\n  coverLetter   String?\n  prevPosition  String?\n  prevCompany   String?\n}\n```\n\nFor the complete schema, see [`prisma/schema.prisma`](./prisma/schema.prisma).\n\n---\n\n## 📜 Available Scripts\n\n| Command | Description |\n|---------|-------------|\n| `pnpm dev` | Start development server with Turbopack |\n| `pnpm build` | Build production bundle |\n| `pnpm start` | Start production server |\n| `pnpm lint` | Run ESLint for code quality |\n| `pnpm dlx prisma studio` | Open Prisma Studio (database GUI) |\n| `pnpm dlx prisma db push` | Push schema changes to database |\n| `pnpm dlx prisma generate` | Generate Prisma Client |\n\n---\n\n## 🌐 Deployment\n\n### Deploy to Vercel (Recommended)\n\nHireek is optimized for [Vercel](https://vercel.com/) deployment:\n\n1. **Push your code to GitHub**\n\n```bash\ngit add .\ngit commit -m \"Initial commit\"\ngit push origin main\n```\n\n2. **Import to Vercel**\n   - Go to [Vercel](https://vercel.com/new)\n   - Import your GitHub repository\n   - Vercel will auto-detect Next.js\n\n3. **Configure Environment Variables**\n   - Add all environment variables from `.env.local`\n   - Don't forget to update `NEXT_PUBLIC_BASE_URL` to your production domain\n\n4. **Deploy**\n   - Click \"Deploy\"\n   - Your app will be live in ~2 minutes! 🚀\n\n### Other Platforms\n\nHireek can be deployed to any platform that supports Next.js:\n- **Netlify**: Use the Next.js runtime\n- **Railway**: Deploy with PostgreSQL add-on\n- **AWS/DigitalOcean**: Deploy as a Node.js application\n- **Docker**: Create a Dockerfile for containerized deployment\n\n---\n\n## 🧪 Testing\n\n\u003e **Coming Soon**: Comprehensive test suite\n\nPlanned testing tools:\n- **Jest**: Unit and integration tests\n- **Playwright**: End-to-end testing\n- **React Testing Library**: Component testing\n- **Vitest**: Fast unit tests\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome! Here's how you can help:\n\n1. **Fork the repository**\n2. **Create a feature branch**\n   ```bash\n   git checkout -b feature/amazing-feature\n   ```\n3. **Commit your changes**\n   ```bash\n   git commit -m \"Add amazing feature\"\n   ```\n4. **Push to the branch**\n   ```bash\n   git push origin feature/amazing-feature\n   ```\n5. **Open a Pull Request**\n\n### Development Guidelines\n\n- Follow the existing code style\n- Write meaningful commit messages\n- Add tests for new features\n- Update documentation as needed\n- Ensure all tests pass before submitting PR\n\n---\n\n## 📄 License\n\nThis project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.\n\n---\n\n## 🙏 Acknowledgments\n\nBuilt with amazing tools and services:\n\n- [Next.js](https://nextjs.org/) – The React Framework for the Web\n- [Prisma](https://www.prisma.io/) – Next-generation ORM\n- [Neon](https://neon.tech/) – Serverless Postgres\n- [Inngest](https://inngest.com/) – Background job orchestration\n- [Arcjet](https://arcjet.com/) – Application security\n- [UploadThings](https://uploadthing.com/) – File uploads\n- [shadcn/ui](https://ui.shadcn.com/) – Beautiful components\n- [Tailwind CSS](https://tailwindcss.com/) – Utility-first CSS\n- [Vercel](https://vercel.com/) – Deployment platform\n\n---\n\n## 📧 Contact \u0026 Support\n\n- **Author**: Ayoub Hayda\n- **GitHub**: [@ayoubhayda](https://github.com/ayoubhayda)\n- **Repository**: [hireek-platform](https://github.com/ayoubhayda/hireek-platform)\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n### ⭐ Star this repo if you find it helpful!\n\n**Made with ❤️ by [Ayoub Hayda](https://github.com/ayoubhayda)**\n\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayoubhayda%2Fhireek-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayoubhayda%2Fhireek-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayoubhayda%2Fhireek-platform/lists"}