Skip to content

Startiffy Labs 07 · concept: HR management platform

Hiring, onboarding, time and leave, payroll and reviews in one place, with the rules visible and the numbers explained.

Part 01The product

Who it is for and what goes wrong today.

01Project overview

What this exploration is.

Crewline HR is a product exploration by Startiffy: an HR platform for growing companies.

It follows the employee journey from hiring through onboarding, time and leave, payroll and reviews. The prototype makes the rules concrete: leave days exclude weekends, balances block over-booking, and payroll shows its arithmetic.

Type
Concept exploration, not a client project
Market
Worldwide, with localisation planned
Users
HR, managers, employees
Prototype
12 working screens, sample data
Currency
USD
  • Next.js
  • TypeScript
  • Spring Boot
  • PostgreSQL
  • Redis
  • AWS

02Product vision

Where it is headed.

Every person in the company can see where they stand: their leave, their pay and their next step, and every rule behind it is written down.

03Industry and target market

Where it fits.

Human resources software (B2B SaaS) · Worldwide

Growing companies often outgrow spreadsheets before they can afford a large HR suite. People data ends up split between a payroll provider, a leave tracker and an applicant tool.

The opening we explore is one platform that is simple at 20 people and still sensible at 500. We make no market claim, and payroll rules would vary by country, so a real build would start with one.

04Problem statement

What goes wrong today.

  • Leave and attendance live in different places, so managers approve without seeing balances.
  • Candidates who are hired must be re-typed into the HR system, and onboarding is tracked on a separate checklist.
  • Payroll is a black box that employees cannot check.

05Business challenges

What makes it hard.

Rules differ by country

Leave, tax and payroll rules vary. The product needs configurable policy, not hard-coded rules.

Sensitive data

Salaries and reviews are among the most sensitive data a company holds, so access must be tight.

Trust in the numbers

Payroll mistakes erode trust quickly. Calculations have to be explainable and auditable.

Manager adoption

Managers will only use it if approving takes seconds.

Hiring to onboarding continuity

The handover from candidate to employee is where information is usually lost.

06Target audience

Who it is for.

HR teams

One to ten people running the people function.

Managers

Approve leave and run reviews for their teams.

Employees

Request leave, clock in and read payslips.

07User personas

Three people we design for.

Marta, head of People

Leads a 3-person HR team

Goals

  • One record per person
  • A smooth hire-to-onboard handover

Frustrations

  • Re-entering data
  • Chasing managers for approvals

Daniel, an engineering manager

Manages 8 engineers

Goals

  • Approve leave with balances in view
  • Run fair reviews

Frustrations

  • Approvals buried in email
  • No team calendar

Ana, an engineer

Employee

Goals

  • Know her leave balance
  • Understand her payslip

Frustrations

  • Unclear policies
  • Opaque deductions
Part 02The approach

What we would build, and in what order.

08Proposed approach

What we would build.

One platform where a candidate becomes an employee without re-typing, leave requests are checked against policy as they are made, and payroll shows each line of its calculation.

Policy lives in settings: change the leave allowance and every balance updates. Rules are visible to employees, so they can see why a request was accepted or refused.

One record per person

From candidate to employee to reviewer, with no re-entry.

Policy as configuration

Leave rules and days off are settings, not code.

Explainable pay

Gross, tax, pension and net are shown for every payslip.

09Product strategy

How we would decide.

  1. Own the employee recordEverything else, from leave to payroll, hangs off a trusted record.
  2. Integrate payroll, do not rebuild every countryCompute and explain, and connect to local payroll providers for filing.
  3. Manager-friendly approvalsApprove in one tap with the balance visible.
  4. Privacy by defaultSalary and review data are visible to as few people as possible.

10Core features

What it does.

Employee management

Directory, profiles and reporting lines.

Employee onboarding

A checklist created automatically on hire.

Attendance

Clock in and out and a monthly calendar.

Leave management

Working-day maths, balances, overlap checks and approvals.

Payroll information

Payslips with gross, tax, pension and net.

Recruitment and applicant tracking

A pipeline, scorecards and notes.

Performance reviews

Cycles, ratings and comments.

Organization and analytics

Departments, policy and people analytics.

11Feature prioritisation

What comes first, and why.

FeaturePriorityEffortReason
Employee record and directoryMustMThe base for everything.
Leave with balances and approvalsMustMThe most-used employee feature.
AttendanceShouldSSimple and highly visible.
Recruitment pipelineShouldMFeeds the employee record.
Payroll calculationMustLHigh value, high care.
Performance reviewsShouldMDrives a regular rhythm.
People analyticsShouldSComputed from existing data.
Payroll filing integrationsCouldLCountry specific.

Effort is a relative size (S, M, L), not a time estimate. A real plan would size work after discovery.

12User journeys

A day in the product.

Ana, an engineerTake a week off

  1. Open leaveSees her balance.
  2. Request datesWorking days are counted, and overlaps are rejected.
  3. Wait for approvalHer manager sees the balance.
  4. See it in the calendarThe days appear as leave.

Marta, head of PeopleHire and onboard

  1. Move a candidate to OfferOn the pipeline board.
  2. Mark them HiredAn employee record is created.
  3. Track onboardingA checklist appears.
  4. Run payrollThe new hire is included when active.
Part 03Design

Structure, wireframes and the working prototype.

13Information architecture

How the product is organised.

  • Crewline HR
    • People
      • Dashboard
      • Employees
        • Employee profile
      • Attendance
      • Leave
    • Hiring
      • Pipeline
        • Applicant profile
      • Openings
    • Company
      • Payroll
      • Reviews
      • Analytics
      • Organization

14Wireframes

Layout before style.

Low-fidelity sketches settle structure and priority before colour and type enter the discussion.

HR dashboardApprovals first, headcount beside them.
Attendance calendarA month grid with state colours.
Recruitment pipelineStages from Applied to Hired.
Employee profileTabs for overview, leave, reviews and onboarding.

15UI/UX design process

Idea to launch, in six steps.

  1. 1
    Discover

    Interview HR teams, managers and employees, map their day, and agree what the first release must prove.

  2. 2
    Define

    Write the product plan, the data model and the rules. Decide how we will handle payroll accuracy, policy and privacy before any screen is drawn.

  3. 3
    Design

    Sketch wireframes, build the design system, and test a clickable prototype with real users.

  4. 4
    Build

    Ship in weekly cycles, each ending in something a user can try.

  5. 5
    Launch

    Onboard a small group first. We watch approval times and payroll checks and fix what confuses people before widening access.

  6. 6
    Scale

    Add integrations and intelligence once real usage shows where they pay off.

16Final interface

Click through it.

This is the working prototype, not a picture. Pick a screen, resize the preview, and use the controls. 12 screens are connected, and every filter, form and chart responds.

Open full screen
Crewline HR dashboard with headcount, approvals and a department chart

The product page, leading into the dashboard and leave.

Sample data only. Everything you change stays in your browser.

17Design system

Rules the interface follows.

  • Utilitarian and clear: a tool people use, not admire.
  • Every number is paired with its unit and period.
  • State colours are consistent: green for present, blue for leave, amber for pending.
  • A dark sidebar frames a light workspace.
Graphite#181c16Sidebar and structure
Lime#a3e635Active navigation
Forest#3f6212Primary actions
Sky#0ea5e9Leave
Amber#f59e0bPending and days off

Type. A neutral sans with strong heading weight and tabular numerals for pay.

  • Employee row
  • Leave request card
  • Month calendar
  • Pipeline board
  • Payslip table
  • Star rating
  • Checklist
Part 04Engineering

The stack, the architecture and how it scales.

+Technology choices

Why these tools.

Each choice follows from what this product needs. We do not use a tool because it is fashionable.

LayerChoiceWhy
FrontendNext.js, React, TypeScript, Tailwind CSSRole-aware, accessible screens with server-rendered reports.
BackendJava with Spring BootStrict validation, decimal arithmetic and strong security tooling suit payroll and policy.
DatabasePostgreSQLRelational integrity and append-only history for sensitive data.
Cache and jobsRedisNotifications and scheduled job coordination.
AIClaude behind a data-minimising gatewayDrafting and Q&A help with logging and redaction.
CloudAWS with Docker and CI/CDRegional hosting for data residency.

18Frontend architecture

The client.

A Next.js application with role-aware navigation, so employees, managers and HR each see the right screens.

Dates, currencies and policies are localised, and the calendar handles different week starts.

  • Role-based layouts and navigation
  • Accessible date pickers and calendars
  • Optimistic approvals with rollback on failure
  • Server-rendered reports for fast loads
  • Time zone aware clocking

19Backend architecture

The service.

A Spring Boot service in Java, organised around people, time, payroll and talent modules. Java suits payroll arithmetic and the strict validation HR rules need.

Policies are data, and a rules component evaluates leave and payroll against them.

  • A policy engine for leave and pay rules
  • Decimal arithmetic for money, never floating point
  • Domain events such as EmployeeHired that trigger onboarding
  • Scheduled jobs for payroll runs and accruals
  • Fine-grained access control for salary and reviews

20Database architecture

The data.

PostgreSQL holds people, time, leave, payroll and hiring data. Salary history and reviews are append-only, so changes are auditable.

Money is stored as integer minor units.

employees

  • id
  • name
  • role
  • department_id
  • manager_id
  • start_date
  • status

compensation

  • employee_id
  • salary_minor
  • effective_from

Append-only history of salary changes

leave_requests

  • id
  • employee_id
  • type
  • from
  • to
  • days
  • status

attendance

  • employee_id
  • date
  • clock_in
  • clock_out

pay_runs

  • id
  • period
  • status
  • run_at

payslips

  • pay_run_id
  • employee_id
  • gross_minor
  • tax_minor
  • pension_minor
  • net_minor

applicants

  • id
  • job_id
  • stage
  • rating

21API structure

The contract.

A versioned REST API with role-based authorisation on every route. Sensitive endpoints, such as payslips, return only what the caller may see.

  • GET/v1/employeesDirectory with filters
  • POST/v1/leave-requestsRequest leave, validating balance and overlaps
  • PATCH/v1/leave-requests/:idApprove or reject
  • POST/v1/attendance/clockClock in or out
  • GET/v1/payroll/:periodPayslips for a period
  • POST/v1/payroll/:period/runRun payroll and lock the period
  • PATCH/v1/applicants/:idMove stage, converting a hire
  • POST/v1/reviewsCreate or complete a review

22AI integrations

Where AI helps, and where it stops.

Job description drafting

A model drafts a job description from a role brief and the company's style.

Guardrail. HR edits and approves, and wording is checked for biased language.

Candidate summary

Summarises a CV against the role's stated requirements, with the evidence quoted.

Guardrail. Never used to reject a candidate automatically, and it shows the passages it relied on.

Policy questions

Retrieval over the handbook answers questions like "how many sick days do I have?".

Guardrail. Answers cite the policy page and refer unusual cases to HR.

23Security considerations

Built in from the start.

Authentication

Single sign-on with multi-factor authentication for HR and finance roles.

Authorization

Salary, review and medical-leave data are visible only to named roles, and managers see their own reports.

Audit trail

Reads and changes of sensitive fields are logged and cannot be edited.

Encryption

Encryption in transit and at rest, with field-level encryption for salary and identity numbers.

Input validation

Server-side validation of dates, amounts and policies, with decimal-safe money handling.

Privacy

Retention rules per country, data export and deletion tools, designed for regulations such as GDPR.

AI and candidates

Candidate data sent to a model is minimised, and decisions are always made by people.

24Infrastructure and deployment

How it would run.

Containers on AWS in regions chosen for data residency. Payroll runs happen in a controlled job with an approval step.

This is the proposed design. Nothing is running.

  1. Clients
    • Web app
    • Mobile web
  2. Edge
    • CDN
    • WAF
    • Load balancer
  3. Application
    • Next.js web
    • Spring Boot API
    • Scheduled jobs
  4. Data
    • PostgreSQL
    • Redis
    • Encrypted object storage
  5. Integrations
    • Payroll providers
    • Calendar
    • Email and chat

25Scalability strategy

Grow without rewriting.

  1. Small companiesOne database with strict tenant isolation, and simple scheduled jobs.
  2. GrowthRead replicas for reports, regional data stores and a queue for notifications.
  3. EnterpriseSingle sign-on and directory sync, custom roles and a warehouse for people analytics.
Part 05Roadmap

How it would ship, and what comes after.

26Development roadmap

Four phases.

Phase 1: People

  • Employee records
  • Leave and attendance
  • Policy settings

Phase 2: Talent

  • Recruitment pipeline
  • Hire-to-onboard flow
  • Reviews

Phase 3: Pay

  • Payslip calculation
  • Pay runs and locking
  • Payroll provider integration

Phase 4: Intelligence

  • Policy assistant
  • Job description drafting
  • People analytics

Phases show order, not dates. A real plan would add timing after discovery.

27Future improvements

After launch.

  • Country-specific payroll modules
  • Benefits administration
  • Expense management
  • Learning and development tracking
  • Engagement surveys

Build something similar with Startiffy.

Tell us the idea. After a 30-minute call you get a written product plan within an hour.