0%
balqalam Logo
balqalam
FeaturesCommunityPricingDocumentation
Login
  • Introduction
  • Pitch
  • Hogwarts
  • Live Demo
  • MVP
  • Roadmap
  • Launch Sprint
  • PRD
  • Get Started
  • Localhost
  • Architecture
  • Structure
  • Pattern
  • Page
  • Layout
  • Content
  • Types
  • Config
  • Actions
  • Queries
  • Authorization
  • Validation
  • Form
  • Table
  • Detail
  • Card
  • Util
  • Hooks
  • List Params
  • Views
  • README.md
  • ISSUE.md
  • Technology Stack
  • Database
  • File
  • CDN Assets
  • Entry Points
  • Dashboard
  • Authentication
  • Credentials
  • OAuth
  • Flow Diagrams
  • Multi-Tenancy
  • Offline
  • Onboarding
  • Onboarding Videos
  • Add Values
  • Admission
  • Application
  • Attendance
  • Compliance
  • Profile
  • Exams
  • Exam Wizard
  • Timetable
  • Classrooms
  • Notifications
  • Conference
  • LMS (Lumos)
Finance
  • Finance
  • Fee Management
  • Invoice
  • Wallet
  • Salary
  • Payroll
  • Timesheet
  • Expenses
  • Budget
  • Receipt
  • Accounts
  • Banking
  • Reports
  • Dashboard
  • Permissions
  • Messages
  • Integration Flow
  • Provision
  • AI Document Processing
  • Document Intelligence
  • Internationalization
  • Translation
  • Translation Guide
  • Icons
  • Docs Factory
  • Inspiration
  • Listings
  • Teachers
  • Students
  • Catalog
  • Library
  • Contributing
  • Code of conduct
  • GitHub Workflow
  • Database Seeds
  • Database Safety
  • Test Accounts
  • Playwright
  • Prettier
  • Block Rebound
Sales & GTM
  • Marketing Brief
  • Sales
  • Go-to-market
  • Marketing
  • Admission — Feature Spotlight
  • Pilot Program
  • Leads
  • Proposal
  • Outreach Templates
  • Case Study
  • Competitors
  • Landing-page teardown
  • Competitor FAQ
  • Business model
  • Shared economy
  • Traction
Fundraising & Ecosystem
  • Get Support
  • Investor Deck
  • Data Room
  • Investors
  • Accelerators
  • Incubators
  • Grants
  • Sponsors
  • Partners
  • Competitions & Hackathons
  • Universities & Training Centers

Technology Stack

PreviousNext

Core technologies powering the Hogwarts multi-tenant school management platform.

Core Stack

TechnologyVersionPurpose
Next.js16.2.xApp Router, Turbopack, Server Components, streaming
React19.2.xUI library with concurrent features, Server Components
TypeScript5.xStrict mode, type safety across the stack
Prisma6.19.xORM with 302 models, 149 enums, 73 schema files
PostgreSQLNeon ServerlessMulti-tenant database with connection pooling
NextAuthv5 beta.30OAuth (Google, Facebook), credentials, JWT sessions
Tailwind CSS4Utility-first CSS with OKLCH color format
shadcn/uiLatestRadix UI primitives, accessible components

Runtime & Deployment

TechnologyPurpose
VercelServerless deployment, edge caching, preview branches
NeonServerless PostgreSQL with branching workflows
AWS S3Image and file storage (catalog thumbnails, uploads)
CloudFrontCDN delivery for S3 assets (WebP variants)
Upstash RedisCustom domain resolution caching

Validation & Forms

TechnologyVersionPurpose
Zod4.0.14Schema validation on server and client
React Hook Form7.61.1Performant forms with minimal re-renders
TanStack Table8.21.3DataTable with sorting, filtering, pagination

Authentication & Security

TechnologyPurpose
Auth.js (NextAuth v5)Multi-provider OAuth, JWT sessions, RBAC
bcryptPassword hashing (cost 12)
PKCEOAuth security with S256 code challenge
Rate limiting14 configs across routes (in-memory)

Key Libraries

LibraryPurpose
nuqsURL-persisted state (view toggles, filters)
ResendTransactional email (verification, invitations)
SharpServer-side image processing (WebP variants)
MapboxMaps and geolocation (school location)
StripePayment processing (enrollment, subscriptions)
PlaidBanking integration (finance module)
next-themesDark/light theme switching
FumadocsMDX documentation framework

Design System

AspectSpec
Arabic fontRubik
English fontGeistSans
TypographySemantic HTML only
ColorsOKLCH with Blue primary, Amber secondary
Componentsshadcn/ui (Radix primitives)
ThemeDark/light via next-themes

Development Tools

ToolPurpose
pnpmPackage manager (Vercel requirement)
TurbopackDev server bundler (via Next.js 16)
VitestUnit testing
PlaywrightE2E testing
ESLintLinting
PrettierCode formatting
Claude CodeAI-assisted development (50 agents, 47 commands, 16 skills)

Runtime Strategy

Route TypeRuntimeReason
Auth pagesNode.jsbcrypt requires Node.js APIs
Prisma pagesNode.jsPrisma client requires Node.js
Static pagesEdgeFaster TTFB via edge caching
MiddlewareEdgeSubdomain detection, URL rewriting
ISSUE.mdDatabase

On This Page

Core StackRuntime & DeploymentValidation & FormsAuthentication & SecurityKey LibrariesDesign SystemDevelopment ToolsRuntime Strategy

Built by Databayt ·

Welcome to balqalam.

A great journey is about to begin.