A Laravel-based web application for Santa Clara City employees, providing centralized access to various department tools and features.
- User Authentication with Laravel Breeze
- Role-based Access Control using Spatie Permissions
- Fire Department Command Center
- Real-time Active Fire Incidents
- Unit Status Tracking
- Unit Location Updates
- Administrative Tools
- Finance Management
- User Management
- PHP 8.1 or higher
- Composer
- Node.js & NPM
- SQLite or MySQL
- Clone the repository:
git clone https://github.com/yourusername/SantaClaraHub.git
cd SantaClaraHub- Install PHP dependencies:
composer install- Install and compile frontend dependencies:
npm install
npm run dev- Configure environment:
cp .env.example .env
php artisan key:generate- Configure your database in
.env:
DB_CONNECTION=sqlite
DB_DATABASE=/absolute/path/to/database.sqlite
- Run migrations:
php artisan migrate- Seed the database (optional):
php artisan db:seedThe application uses the Spillman API for fire incident data. Configure your API token in .env:
SPILLMAN_API_TOKEN=your_token_here
To start the development server:
php artisan serveFor hot-reloading of assets:
npm run devRun the test suite:
php artisan testThis project is proprietary software for Santa Clara City.
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.