Welcome to the Epidemic Sound Capture The Flag! This is a fun way to learn about the Epidemic Sound API and how to use it to create your own music player. The goal is to create a music player that can play music from Epidemic Sound. The player should be able to play, pause, skip, and go back to the previous song. The player should also be able to show the current song and artist. The player should also be able to show the current song's album art.
Capture as many flags as you can! The flags could be hidden in the codebase, in the API endpoints, or in the browser inspection developer tools.
🤘 Some tips:
- The flags could look like this:
flag{this_is_a_flag}
orfl🏳g
or🏳
or something like this. - If you find a flag, please submit it in this Google form. You can submit as many flags as you find.
- If you find a flag, you will often be able to fix a bug. Fix the bug and then search for a new flag.
- If you find a flag, please don't share it with anyone else. We want everyone to have a fair chance to find all the flags.
To get started, you will need your Epidemic Sound Developer Portal credentials.
You will also need to install Node.js and npm.
Once you have Node.js and npm installed, you can move onto starting the backend, and then the frontend.
To start the project, you'll need to:
- Start the backend server by running
npm start
in thebackend
folder. - Start the frontend server by running
npm dev
in thefrontend
folder.
The /frontend
folder is where you find the React frontend. To start the frontend, run the following commands:
- Change into frontend directory:
cd frontend
- Install dependencies:
npm install
or useyarn
- Run:
npm dev
or useyarn dev
Open a new terminal window.
- Change into backend directory:
cd backend
- Install dependencies:
npm install
or useyarn
- Run the backend:
npm dev
or useyarn dev
You can find the documentation for the API here.
Specifically, you will need to use the following endpoint:
/collections/{id}