Skip to content

alenachao/mood-tunes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

48 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Mood Tunes ๐Ÿ“ป

Log your daily emotions through songs ๐Ÿ™‚

  • Search, playback, and select songs each day that describes your mood
  • See which days/songs correlated to more negative/positive emotions and how they were distributed over the month
  • Export playlist of tracks each month
    image image

This appliction uses:

  • TypeScript + React + Redux + MUI + RRD + ESLint + Prettier (from vite-mui-ts boilerplate) for client side code
  • Node + Express for server side code
  • MongoDB for database management
  • Spotify Web API to authenticate user and implement song related features

Getting Started ๐Ÿ“„

1. Clone Repo

git clone [email protected]:alenachao/mood-tunes.git

2. Install Dependencies

Install Node and npm to manage packages, then install requirements for both client and server.

cd client
npm install
cd ../server
npm install

2. Setup Database

Install MongoDB and Mongosh, then edit the db.js file to connect to your database.

const connectionString = "your-database-connection-string";
return client.db('your-database-name');

3. Get Spotify API credentials

Create app and get client id + client secret as described in Spotify API's getting started guide and set them as environment variables. Make sure to add http://localhost:5173/api/auth/callback as a redirect uri for the created app.

4. Run application

To run application, simply run npm start in both the client and server folders.

About

music diary ๐ŸŽต๐ŸŽถ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published