WhatGame is a mobile app designed to help you and your friends decide what game to play next. No more endless debates—create lobbies with friends, discover exciting games, and vote to pick the perfect one!
- Friends Lobbies: Easily create or join lobbies with your friends to coordinate gaming sessions.
- Game Discovery: Browse a curated selection of games tailored to your group's preferences.
- Voting System: Vote on suggested games in real-time to quickly decide what to play together.
- Frontend: React Native with Expo for a smooth cross-platform mobile experience (iOS and Android).
- Backend: Laravel (PHP framework) for robust API development, user authentication, and data management.
- Node.js (for frontend development)
- PHP 8.1+ and Composer (for backend)
- Expo CLI:
npm install -g @expo/cli - A database like MySQL or SQLite (configured in Laravel)
-
Clone the repository:
git clone <your-repo-url> cd WhatGame/frontend -
Install dependencies:
npm install -
Start the development server:
expo start -
Open the app in Expo Go on your mobile device or use an emulator.
-
Navigate to the backend directory:
cd WhatGame/backend -
Install dependencies:
composer install -
Copy the environment file:
cp .env.example .env -
Generate application key:
php artisan key:generate -
Configure your database in
.envand run migrations:php artisan migrate -
Start the server:
php artisan serve
Update the frontend's API base URL in the Expo config to point to your Laravel backend (e.g., http://localhost:8000 for local development).