InTune is a music selection tool. This web app uses a mix of APIs to help find music based on mood, activity, time of day, or weather. To learn more about my project, or to try it out yourself. Feel free to visit the project page project page on my portfolio site. This documentation will cover the technical details about the project.
InTune uses:
APIs used:
If you want to build you own InTune project from scratch please refer to the, Technologies Used 🛠 section, for links to all the resources used in the project.
If you are cloning the InTune repository then follow the steps below.
Once you have cloned the repository, open your terminal to the project file directory and run:
npm install
This will download all the needed dependencies for the proeject.
Please Note: In order for you to use any of the APIs you must have your own credentials. These can be obtained by following the API's documentation.
For security reasons I stored my API credentials in a seperate "credentials.js" file and exported them as a module to be used in my "index.js" file:
// Index.js
const credentials = require('./credentials');
You can do the same or just replace the credentials
object in the code with your actual credentials:
// Using the credentials object
let clientId = credentials.spotify.client_id;
// Using the actual credentials
let clientSecret = //Your crednetials here;
After following all the instructions you should have your own functioning InTune project. Congratulations! 🎉🎊🥳