Skip to content

About

Marketing website for Staffora — staffora.co.uk

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

Staffora Website & Client Portal

Customer-facing website and client portal for staffora.co.uk.

Quick Start

bun install
bun run docker:up
bun run migrate:up
bun run dev

Architecture

This is a standalone monorepo with two workspaces:

  • api/ - Elysia.js backend (port 3001)
  • web/ - React Router v7 frontend (port 5174)

Infrastructure

  • PostgreSQL 16 on port 5433
  • Redis 7 on port 6380
  • All ports are offset from the HRIS system to avoid conflicts

Database

  • Database: staffora_portal
  • Schema: public (no RLS, no multi-tenant)
  • Migrations: migrations/ directory

Auth

Custom session-based authentication (not BetterAuth):

  • Login sets an httpOnly cookie (staffora_portal_session)
  • Sessions stored in portal_sessions table
  • Passwords hashed with bcrypt (12 rounds)
  • Account lockout after 5 failed attempts (15 minute cooldown)

About

Marketing website for Staffora — staffora.co.uk

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages