Skip to content

stxrdust999/hireflow-api

Repository files navigation

HireFlow | Applicant Tracking System (ATS)

HireFlow is a comprehensive recruitment management platform developed as a technical portfolio project to demonstrate a professional, full-stack architecture. Designed to centralize the entire hiring lifecycle—from job opening creation to the final contract—it bridges the gap between candidates and internal teams (HR and Hiring Managers) through a structured, enterprise-grade evaluation pipeline.


🏗️ Architecture & Philosophy

HireFlow is built as a decoupled system, mimicking high-scale corporate environments where the frontend and backend live in separate ecosystems.

  • hireflow-api: A robust Laravel 11 REST API managing business logic, RBAC, and data persistence.
  • hireflow-web: A modern Next.js 14 frontend (🚧 in construction) that consumes the API via strictly typed contracts generated from Swagger.

✨ Key Features

  • Dynamic Pipeline: Candidates move through customizable stages (Screening, Technical Interview, Offer) with a full audit log of every movement.
  • Advanced RBAC: Fine-grained permissions for 4 personas: Candidate, Recruiter, Hiring Manager, and Admin.
  • Collaborative Hiring: Internal comments and evaluations that keep the conversation organized within the candidate's profile.
  • Async Notifications: Emails and system alerts handled via Redis queues to ensure zero-latency API responses.
  • Social Auth: Seamless onboarding via LinkedIn OAuth integration.

🛠️ Tech Stack

Backend (hireflow-api)

  • Framework: Laravel 11 / PHP 8.2+
  • Database: MySQL 8.0 (Persistence)
  • Cache/Queue: Redis 7 (Speed & Async Jobs)
  • Auth: Laravel Sanctum (SPA/API) + Socialite (OAuth)
  • Documentation: L5-Swagger (OpenAPI 3.0)

Frontend (hireflow-web)

  • Framework: Next.js 14 (App Router)
  • State/Data: TanStack Query + Orval (Auto-generated API clients)

🚀 Quick Start (API)

Prerequisites

Installation

  1. Clone & Install:

    git clone https://github.com/your-repo/hireflow-api.git
    cd hireflow-api
    composer install
  2. Environment Setup:

    cp .env.example .env
    php artisan key:generate

    _Note: Remember to configure your DB\__andREDIS\__variables in the.env file._

  3. Database & Infrastructure:

    docker compose up -d
    php artisan migrate --seed
  4. Serve: If using Laravel Herd, the project is available at http://hireflow-api.test. Otherwise, run:

    php artisan serve

📖 Detailed Documentation

The project includes exhaustive documentation covering every aspect of the system and can all be found in the Wiki of the project:

  1. Introduction: Project vision and problem-solving.
  2. Architecture: Deep dive into the dual-system setup.
  3. Database Schema: Entity-relationship diagrams and UUID strategy.
  4. Authentication: Sanctum flow and LinkedIn integration.
  5. Roles & Permissions: The logic behind the RBAC system.
  6. Recruitment Pipeline: How the stage logic works.
  7. API Conventions: REST patterns and response standards.
  8. Use Cases: Step-by-step user journeys.

⚠️ Not all topics that were covered in the wiki are listed here.

About

O HireFlow é um projeto de portfólio desenvolvido individualmente com fins de aprendizado e demonstração técnica. O objetivo é cobrir de forma completa e profissional uma stack fullstack real utilizada em ambiente corporativo, tratando o projeto com a seriedade de um produto entregável.

Resources

Stars

Watchers

Forks

Contributors

Languages