Welcome to GameLobby, the ultimate hub for gamers to unite and play! 🎮 Dive into our dynamic social network tailored for gaming fans. Create custom gaming rooms linked to your favorite titles and spark conversations that evolve into epic multiplayer battles. Whether you're strategizing for the next raid or sharing tips for the latest release, GameLobby is your virtual playground for gaming greatness. Level up your social gaming experience today!
- Clone repository.
- Install all the dependencies on the project
composer install
- Fill .env with data on .env.sample, specifically the variables related with DB.
- Open docker container and MySql Workbench that you have created for the project with the data given into .env
- Create and fill the tables
php artisan migrate --seed
- Launch the api for using the methods
composer artisan serve
- Super_admin:
_id: 1,
name: "SuperAdmin",
email: "[email protected]",
password: "admin1234",
role: "super_admin"
- User:
_id: 2,
name: "User",
email: "[email protected]",
password: "123456",
role: "user"
- Register and Login:
- Register:
localhost:8000/api/register
- Login:
localhost:8000/api/login
- User:
- Get all users:
Only super_admin can get all users
localhost:8000/api/users
- Get profile:
Need user logging
localhost:8000/api/users/profile
- Delete user :
Only super_admin can delete users
- Games:
- Get all games:
Need user logging
localhost:8000/api/games
- Post game:
Only super_admin can post game
localhost:8000/api/games
- Put game:
Only super_admin can update game
localhost:8000/api/games/{id}
- Delete game:
Only super_admin can delete game
localhost:8000/api/games/{id}
- Rooms:
- Get all rooms:
Need user logging
localhost:8000/api/rooms
- Post room:
Need user logging
localhost:8000/api/rooms
- Put room:
Need user logging
localhost:8000/api/rooms/{id}
- Delete room:
Need user logging
localhost:8000/api/rooms/{id}
- Messages:
- Get all room messages:
Need user logging
- Get all my messages:
Need user logging
- Post message:
Need user logging
- Put message:
Need user logging
- Delete message:
Need user logging
- User-Room:
- Get user-room:
- Post user-room:
Need user logging
- Delete user-room:
Sergio Torres | Marta Gimeno | Carlos Ibañez | Jose Ferrer |