Skip to content

About

Hackstra — a complete school management system: admissions, period attendance, exams & marks, fees with online payment, library, timetables, staffing and documents. Built with Laravel 12.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

257 Commits

Folders and files

Repository files navigation

🏫 Hackstra — School Management System

Admissions to alumni — one platform that takes a school fully digital.

Attendance, exams, fees, library, timetables, staffing and documents in one place — with nothing left on pen and paper.

Release Laravel 12 PHP 8.4 MySQL / MariaDB Docker Tests License: MIT Live Demo

Developed and maintained by Ankit Kumar.

Hackstra login The split-screen sign-in page — each school's name, logo and session are configured in Settings.


💡 Why Hackstra

Most schools still run on registers, spreadsheets and WhatsApp messages. Hackstra replaces all of it with one role-based platform that the school admin runs alone — the system asks only for the essential inputs and generates the rest:

  • Timetables are generated from subject requirements (periods per week, teacher eligibility), then validated — teacher clashes and unmet requirements are reported, never silently shipped.
  • Exam date sheets are generated with realistic break days between papers, and invigilation duties are auto-assigned, balanced across teachers, never double-booked.
  • Fees reconcile themselves — every student's balance must recompute from their fee records; an integrity check flags any drift, and library fines flow into fees automatically.
  • Nothing is hardcoded — marking schemes, teacher load caps, fine rates, school identity, session and terms are all configured inside the app, per school.
  • Every role sees only its own world — enforced on the server: teachers see their classes, parents their children, the platform owner sees numbers, not school records.

📸 Screenshots

Platform Overview School Dashboard
Platform Overview — the Super Admin's cross-school command view: user accounts by role, audit activity and a configuration checklist. School Dashboard — enrolment, fee collection and today's attendance at a glance, with the school calendar.
Admin Dashboard Teacher Dashboard
Admin Dashboard — the school operator's daily board: totals, quick actions, enrolment trend, fee collection and attendance donut. Teacher Dashboard — my subjects, my classes, today's timetable and one-tap attendance.
Attendance Register Payments
Attendance Register — period attendance with tappable Present / Absent / Late controls, a topic-taught log and a locked, final submission. Collect Fee — find any student by name, admission number or class and jump straight to their payment records.
Student Marksheet My Account
Student Marksheet — component-wise scores (Theory / Internal / Viva) under a configurable marking scheme, ready to print. My Account — one-screen profile, password, notifications and preferences, the same for every role.
Staffing Dashboard School Readiness
Staffing Dashboard — periods demanded vs teacher capacity for every subject, with shortfalls and overloads computed from the school's own data. School Readiness — a live checklist with a readiness score: session, enrolment, teacher load, clash-free timetables, exams and a reconciled fee ledger.
Mobile
Admin dashboard on mobile Attendance register on mobile
The Admin dashboard on a phone — fully responsive, no sideways scrolling. Taking the register on a phone — big touch targets, same locked submission.

✨ Features

Platform & roles

  • Seven role portals — Super Admin, Admin, Teacher, Student, Parent, Accountant, Librarian — each with its own home, menu and permissions, plus a dedicated Principal demo login (school head's view, admin rights)
  • Platform Overview for the Super Admin (platform owner) across schools, plus a per-school dashboard
  • Role-based data scoping enforced on the server: a teacher sees only their own classes, a parent only their own children, an accountant only the fee office

Students & admissions

  • Student records with photos, classes and sections
  • Quick Admit — admit a student with just the essentials and complete the profile later; admission numbers are allocated collision-safely
  • Bulk CSV import with a downloadable template, bulk actions, promotions, graduations and printable student ID cards

Attendance

  • Period-wise attendance register with Present / Absent / Late, topic-taught log and final locked submission
  • Monthly attendance reports (screen, print and PDF from one set of figures) and a low-attendance (below 75%) list

Exams, marks & documents

  • Exams with fully configurable marking schemes — components such as Theory, Internal Assessment and Viva, each with its own maximum, per school / exam / subject
  • Marks entry with a live class summary; assignment averages can be pushed into the Internal component; every mark change is written to the audit log with its old and new values
  • A publish switch controls when results become visible to students and parents
  • Printable term marksheets, an Annual / Cumulative Report Card, and admit cards
  • Digital documents — the Principal's signature and the school seal are uploaded once in Settings and printed on documents automatically
  • Fee defaulters' marksheets and admit cards are withheld (students & parents) until dues are cleared — and released automatically on payment

Fees & payments

  • Collect Fee at the counter: itemised fee heads, full or part payment, instant receipt with amount in words
  • Online payment — parents pay from their portal through the school's own Razorpay account; the money goes straight to the school, never through Hackstra
  • Fee-ledger integrity — a scanner reconciles every record (balance = fee − paid); resets restore the full fee owed so a defaulter can never be hidden, and fee definitions in use cannot be deleted
  • Fee Defaulters report that prints professionally on exactly one page, a collection report with per-day breakdown, and CSV exports

Library

  • Book catalogue, issue/return loans and student book requests, with a librarian dashboard built from the live ledger
  • Overdue fines at a per-day rate set in Settings — a student's fine appears in their fee records automatically and clears when the fee is paid; fines can also be waived by the librarian

Planning & scheduling

  • Subject requirements (periods per week, theory/practical, double periods) and teacher eligibility, both configured in the app
  • Staffing Dashboard — demand vs capacity per subject and per teacher, shortfalls and overloads from live data
  • Allocation — reasoned teacher recommendations; eligibility is enforced on the server, and sending a teacher over the weekly cap needs an explicit, audit-logged override
  • Timetable generator that hits the configured requirements exactly, plus a validator that hunts teacher clashes, class collisions and unmet requirements across every timetable of the year
  • Exam date-sheet generator with break days between papers, and invigilation duties auto-assigned — balanced across teachers, never double-booked at the same date and time
  • School Readiness — one page that scores how ready the school is (setup, enrolment, staffing, timetables, exams, fee-ledger consistency) with a fix link for every gap

Communication & AI

  • Circulars with audience targeting and priority levels (print + PDF), a notification bell, and platform mail
  • Ask Hackstra — an AI assistant that answers school questions from the school's own knowledge base and circulars, with citations, scoped to what the asker's role is allowed to see
  • School feedback inbox for parents and students, forwarded to the platform owner

Office & insight

  • Role-personal timetables, staff payroll with printable one-page payslips (single or combined PDF)
  • A full audit log of security-relevant actions (logins, payments, deletions, mark changes with values)
  • Global search (Ctrl + K), dark mode by default, and professional print layouts with the school header on every document

🛠 Tech stack

Layer Technology
Backend Laravel 12 · PHP 8.4
Frontend Blade · Bootstrap 4 (Limitless) + a custom design system (static assets committed — no JS build step)
Database MySQL / MariaDB in production · SQLite for local development
Payments Razorpay (each school connects its own account)
Packaging Docker images for demo (bundled database) and production (external MySQL); the production image is published to GitHub Packages (GHCR) on every push to master
Testing PHPUnit — unit + feature suites, including regression tests for the scheduling, ledger and admission engines
Key packages laravel/ui (auth scaffolding) · barryvdh/laravel-dompdf (PDF output) · razorpay/razorpay (online payments) · hashids/hashids

🚀 Get Hackstra

Option 1 — Docker image (GitHub Packages)

docker pull ghcr.io/thunderdoc/hackastra-services:latest
docker run -p 8080:80 \
  -e APP_KEY=<your-app-key> -e APP_ENV=production -e APP_DEBUG=false \
  -e DB_HOST=<mysql-host> -e DB_DATABASE=<db> -e DB_USERNAME=<user> -e DB_PASSWORD=<pass> \
  ghcr.io/thunderdoc/hackastra-services:latest

Option 2 — Demo (single container, Render-style)

docker build -f Dockerfile.render -t hackstra-demo .
docker run -p 8080:80 -e APP_KEY=<your-app-key> hackstra-demo

The demo image bundles its own MariaDB and re-seeds demo data on every start — data is intentionally ephemeral. This is exactly what the live demo runs.

Option 3 — Production from source (Docker + external MySQL)

docker build -t hackstra .
docker run -p 8080:80 \
  -e APP_KEY=<your-app-key> -e APP_ENV=production -e APP_DEBUG=false \
  -e DB_HOST=<mysql-host> -e DB_DATABASE=<db> -e DB_USERNAME=<user> -e DB_PASSWORD=<pass> \
  hackstra

Migrations run automatically on boot. Set SEED_DEMO=true only for demos — never on a real school deployment. See docs/DEPLOYMENT.md for the full Render walkthrough.

Local development

composer install
cp .env.example .env
php artisan key:generate
php artisan migrate --seed
php artisan serve

🔑 Demo logins

Available after seeding (php artisan db:seed, or any SEED_DEMO=true deployment). Demo-only — change or remove every one before real use.

Role Email Password
Super Admin superadmin@hackstra.app hackstra
Admin admin@hackstra.app hackstra
Principal (school head) principal@hackstra.app hackstra
Teacher teacher@hackstra.app hackstra
Parent parent@hackstra.app hackstra
Accountant accountant@hackstra.app hackstra
Librarian librarian@hackstra.app hackstra
Student student@hackstra.app hackstra

The demo school is Hackstra Academy. Additional sample accounts are also seeded (extra teachers teacher1–3@teacher.com, password teacher; extra students, password student).

📚 Documentation

🗺 Status & roadmap

v1.0.0 — the complete single-school platform described above; the live demo runs exactly this code, and the automated test suite (2,667 tests across 422 files) covers the ledger, scheduling, eligibility and admission engines. Next: multi-school SaaS — one platform, many schools — see the roadmap doc.

🔒 Security

If you discover a security vulnerability in Hackstra, please report it privately to the project owner before publicly disclosing it. Do not include passwords, tokens, or private student data in a public issue. See SECURITY.md.

📄 License & ownership

Hackstra is released under the MIT License — see LICENSE.

© Ankit Kumar. Developed and maintained by Ankit Kumar.

About

Hackstra — a complete school management system: admissions, period attendance, exams & marks, fees with online payment, library, timetables, staffing and documents. Built with Laravel 12.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages