A new multiplayer platform to test your music knowledge.
To play the app:
- clone the repo to your machine
npm i
npm start
- select iOS simulator with
i
(requires XCode) or play on web browser withw
To play multiplayer (requires signing up to app with email address):
- open up a second terminal
cd
into /servernpm start
to start server- open two tabs of the app and connect to the same room
To test the backend functions:
- in /server,
npm i
and thensupabase init
- in /music-clash,
npm run seed
supabase status
- set your local environment variables by copying API URL and anon key into .env.local as TEST_SUPABASE_URL and TEST_SUPABASE_KEY
- to run tests, cd into /server/tests and run
npm test
- if app is getting “require” error, run
npx expo start -c
to clear the browser cache