iBotPeaches / LeafApp_Infinite

Leaf designed for Halo Infinite
https://leafapp.co
MIT License
39 stars 12 forks source link
halo hi infinite stats

Leaf (Infinite)

Laravel

Another hobby stat site for another Halo game

Branches

Setup (Docker)

A docker-based infrastructure is available for development. If you wish to run directly on host, see Setup below.

  1. cp .env.example .env
  2. Set the database hostname in .env like DB_HOST=leaf-db
  3. HOST_UID=$(id -u) docker compose --env-file .env -p leaf -f docker/docker-compose.yml up -d
  4. docker exec -it leaf-php composer install
  5. docker exec -it leaf-php npm ci
  6. docker exec -it leaf-php php artisan key:generate
  7. docker exec -it leaf-php php artisan migrate
  8. docker exec -it leaf-php npm run dev

Setup

  1. PHP8.2
  2. Node + NPM installed
  3. MariaDB 10.6+
  4. Composer installed.
  5. cp .env.example .env
  6. composer install
  7. npm ci
  8. php artisan key:generate
  9. php artisan migrate
  10. npm run build
  11. php artisan serve

Contributions

Configuration

DotAPI

Used for the API for Infinite information, an amazing service that proxies some internal HaloWaypoint/Live calls.

FaceIt

Used for HCS features for listing championships.

Additionally, register webhooks for the following events:

Finally, create a security header called X-Cat-Dog and set it to a random value that you add to env.

Google OAuth

Used for marking an account as "you" and supporting making "scrims".

Tinify

Used for optimizing images that come from backdrops and emblems.

Dependencies

Node

  1. Bulma - https://github.com/jgthms/bulma - MIT
  2. FontAwesome - https://github.com/FortAwesome/Font-Awesome - Font Awesome Free License
  3. Bulma-Dividers - https://github.com/CreativeBulma/bulma-divider - MIT
  4. Bulma-Tooltip - https://github.com/CreativeBulma/bulma-tooltip - MIT
  5. Bulma-Ribbon - https://github.com/Wikiki/bulma-ribbon - MIT

PHP

  1. PHP CodeSniffer - https://github.com/squizlabs/PHP_CodeSniffer - BSD-3-Clause
  2. Larastan - https://github.com/nunomaduro/larastan - MIT
  3. Guzzle - https://github.com/guzzle/guzzle - MIT
  4. Livewire - https://github.com/livewire/livewire - MIT
  5. Enum - https://github.com/BenSampo/laravel-enum - MIT
  6. DBAL - https://github.com/doctrine/dbal - MIT
  7. SEOTools - https://github.com/artesaos/seotools - MIT
  8. TheLeague/CSV - https://github.com/thephpleague/csv - MIT
  9. Socialite - https://github.com/laravel/socialite - MIT
  10. Sitemap - https://github.com/spatie/laravel-sitemap - MIT
  11. Horizon - https://github.com/laravel/horizon - MIT
  12. Markdown - https://github.com/spatie/laravel-markdown - MIT
  13. Sentry - https://github.com/getsentry/sentry-laravel - MIT
  14. Crawler Detect - https://github.com/JayBizzle/Laravel-Crawler-Detect - MIT