Skip to content
/ gamify Public

Real-time multiplayer music quizz game made with ❤️ using the spotify API

Notifications You must be signed in to change notification settings

dxvxd5/gamify

Repository files navigation


Gamify

An online multi-player music quiz game meant to bring people together online through music 🎵😍

How to use the app

The application is accessible here. Players log in with their Spotify accounts. Once logged in, they can either create their own room or join an existing room. In a room, they can invite their friends to play one of two different music-related quiz games, one of which use the Spotify API to play audio tracks. The games are:

  • Song guess: Here the user listen to a song and have to choose the correct title of it
  • Quiz game: Here the user will respond to questions to test their general knowledge in music

How to run the app locally

{
 "rooms": {"gamify":1},
 "users": {"gamify":1}
}
# Replace XXXX with the values in your Firebase project config
REACT_APP_API_KEY="XXXX"
REACT_APP_AUTH_DOMAIN="XXXX"
REACT_APP_DB_URL="XXXX"
REACT_APP_PROJECT_ID="XXXX"
REACT_APP_STORAGE_BUCKET="XXXX"
REACT_APP_MESSAGING_SENDER_ID="XXXX"
REACT_APP_APP_ID="XXXX"
REACT_APP_MEASUREMENT_ID="XXXX"

# Replace the XXXX with the values in your Spotify app settings
REACT_APP_CLIENT_ID="XXXX"
REACT_APP_CLIENT_SECRET="XXXX"
REACT_APP_ACCESS_TOKEN_URI="https://accounts.spotify.com/api/token"
REACT_APP_AUTHORIZATION_URI="https://accounts.spotify.com/authorize"
REACT_APP_SCOPE="user-read-private user-read-email streaming user-modify-playback-state user-read-playback-state"
REACT_APP_API_BASE_URI="https://api.spotify.com/v1"
REACT_APP_REDIRECT_URI="http://localhost:3000/#login"
  • Run the application locally by executing the command npm start
  • You can now access the application on your browser at http://localhost:3000