Smash Map is an open source website under development, it's goal is to help smash players to find tournaments and other players around the world
- World map to display events and registered users
- Event Browsing
- User's notifications to let users know when a tournament is happening near them
- Automatic event creation The Smash map database will automatically keep track of the next tournaments
- In real time notifications with WebSockets
- Event Calendar to get a better overview of what is happening around the world
- Manual event creation
- Maintaining the site
- Bug fixes
Make sure PHP, Composer, NodeJS and Docker are installed.
Note: Docker Compose is not included in the nix flake and must be installed separately.
Alternatively, use the provided nix flake for PHP/Composer/NodeJS:
nix developNote: Docker must still be installed separately as it is not included in the nix flake.
npm install
composer installcp .env.example .envFill in the .env file with your database credentials and other required values.
Note: Keep
DB_USERNAMEasrootfor development if you plan to use the provided Docker Compose.
php artisan key:generatephp artisan ide-helper:generate # facade completions
php artisan ide-helper:models --nowrite # model properties
php artisan ide-helper:meta # meta filephp artisan scribe:generateThe documentation will be available at /docs once the development server is running.
docker compose up -dphpMyAdmin will be available at http://localhost:8080.
Note: The first migration is expected to fail. This is because some character migrations depend on game data that is only created by the seeder.
php artisan migrate # Fails - missing tables from seeder
php artisan db:seed # Creates required tables
php artisan migrate # Completes successfully
php artisan storage:linkphp artisan setup
php artisan import-50-events-all-gamesnpm run dev
php artisan serve