"Because your song should match your mood, not because spotify said so."
-
Follow me & star this repo :)
-
Clone the project
git clone https://github.com/GithubAnant/Lumera.git cd Lumera -
Set up your Spotify API keys
Get your keys from Spotify Dev Dashboard.
Create a file named
apikeys.envInside, add:
SPOTIFY_CLIENT_ID=your_client_id_here SPOTIFY_CLIENT_SECRET=your_client_secret_here PORT=10000
-
Install dependencies
npm install
-
Fire up the server
node server.js
-
Open your browser to http://localhost:10000 and it's live! 🌟
| Step | Command | Description |
|---|---|---|
| 1 | npm install |
Installs all the dependencies. |
| 2 | node server.js |
Starts the magic. |
| Name | Version | Purpose |
|---|---|---|
| express | ^4.18.2 | Web server for serving the app |
| dotenv | ^16.0.3 | Loads environment variables |
| node-fetch | ^2.6.7 | Makes HTTP requests to Spotify |
| (and more!) | See package.json for the full list |
- Open an issue if you spot a bug or have a feature idea
- Tag me on Twitter [@anantsinghal807] if you made something cool
- Ping me on Discord: anant.who (I reply faster than localhost)
🎁 Bonus: Why "Lumera"?
Because "Spotify Mood Thingy" was already taken. Plus, "Lumera" sounds cool.
⚠️ Don’t forget to ⭐️ before you leave! ⭐️