Projects

Gym Management System

2022·1 min read

Laravel
HTML
CSS
GitHub (opens in a new tab)

A gym management system with a real permission hierarchy: an administrator above city managers, city managers above the gym managers in their region, and members below all of them.

A gym management system with a real permission hierarchy: an administrator above city managers, city managers above the gym managers in their region, and members below all of them.

That hierarchy is the design problem, not the CRUD. Every query has to be scoped to what the current role is allowed to see, and the correct answer differs at each level — a gym manager's "all members" and an administrator's "all members" are different sets, retrieved through the same screens.

Spatie's laravel-permission handles the role and ability wiring, Laravel Cashier runs subscription billing through Stripe, Sanctum issues tokens for the API surface, and laravel-ban suspends members without destroying their history — which matters, because a banned member's payment record still has to exist. The admin interface is built on AdminLTE and the whole thing was deployed to AWS.

Written in 2022, and the largest thing built in Laravel before the work moved to the JavaScript side.

About The Project#

Built With#

  • Laravel
  • Admin LTE
  • Laravel Cashier
  • Laravel Sanctum
  • Laravel Ban
  • Laravel Permissions
  • Laravel UI

Api Features#

sad0 sad01 sad1 sad2 sad3 sad4 sad5

Prerequisites#

  • PHP
  • Composer

More projects

  • FoodHub2022 · React
  • Todo List2022 · Angular
  • Akelney2022 · React
All projects