Syncify is a synchronized listening room experience for Spotify. Think community radio. syncify.co
A list of all environment variables across all applications with a little explanation can be found here
For a development environment copy the provided .env.example
file once for your local instance and once for tests (might be the same file).
mv .env.example .env
mv .env.example .env.test
Afterwards fill in the unprovided credentials.
npm install
# start all apps locally
npm start
# run tests for all apps
npm t
Now you can access the whole app on localhost:8080
Route | Description | Handler |
---|---|---|
/api/auth/trade-token |
Trade Spotify code for access tokens |
handler |
/api/auth/refresh |
Call when authorized to get refreshed tokens | handler |
/api/room/{id} |
Get data for room with id | handler |
sls create_domain # custom api gateway domain
sls deploy # lambdas, cloudfront, databases