Skip to content

qn19325/instructr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructr

Workflow management tool for UK chartered accountants to manage client tax returns — document collection, deadlines, client communication, and sign-off tracking. Intention to add an AI-driven tax return preperation layer.

Stack

Layer Choice
Framework Next.js 16 (App Router) + TypeScript
Database Neon (serverless PostgreSQL)
ORM Drizzle ORM
Auth Clerk
File storage Cloudflare R2
Hosting Vercel

Architecture

Four-tier layered architecture: logic/repo/service/app/, with infra/ as the external-systems edge. See docs/adr/ for architectural decision records.

Commands

Command Purpose
npm run dev Start dev server
npm run dev:demo Start in demo mode
npm run build Production build (includes lint + type check)
npm run lint ESLint
npm run format:check Prettier check
npm run format Prettier write
npm run db:generate Generate Drizzle migrations
npm run db:migrate Run migrations
npm run db:seed Reseed local database
npm test Run tests (watch mode)
npm run test:run Run tests once
npm run test:coverage Run tests with coverage

Before Committing

npm run format:check && npm run lint && npm run build

Deployment

Single Vercel deployment serving two domains (instructr.uk / demo.instructr.uk). Host-header detection in src/proxy.ts routes demo traffic to a separate Neon branch with independently reset data.

About

Full-stack tax-return workflow tool for UK chartered accountants. Next.js 15, Drizzle, Postgres.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors