Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

391 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Heartify - Spotify Project

Description

Using a React frontend, Express backend, and Firebase database, we created a web application using the Spotify API. The purpose of the app is to keep users engaged with Spotify by allowing them to view their top artists and songs, create a profile that other users can view, post in message boards, and message other users. All API or database interactions initiated by the user should send a request from the frontend (React) to the backend (Express), where the interaction with the Spotify API or Firebase occurs.

Features

  • Liked Songs Page
  • User’s Top Artists Page
  • User’s Top Songs Page
  • User profile page
    • User can view and edit their profile
    • Can choose to display artists and songs from their Top/Liked pages
    • Can make their profile private, which hides it from the public page
  • Discover page: displays all public users, so users can click and view others profiles and send messages
  • Inbox page that shows your chats with other users
  • Forum page that displays all of the discussion boards, which users can click on to access the posts

Installation Guide

=======

.env

  • Place the .env file in the project's root directory, Spotify-Project.
  • Fill in the .env with the following information:
    FIREBASE_API_KEY=,
    FIREBASE_AUTH_DOMAIN=,
    FIREBASE_PROJECT_ID=,
    FIREBASE_STORAGE_BUCKET=,
    FIREBASE_MESSAGING_SENDER_ID=,
    FIREBASE_APP_ID=,
    FIREBASE_MEASUREMENT_ID=,
    SPOTIFY_CLIENT_ID=
    SPOTIFY_CLIENT_SECRET=
    SPOTIFY_REDIRECT_URI=
    FRONTEND_URI=
    

Frontend

  • First place your two spotify certificates in the frontend root folder:
    • test-spotify-site.local-key.pem
    • test-spotify-site.local.pem
  • Then proceed to run the following commands to setup the frontend through your terminal
    • cd frontend
    • npm install
    • npm run dev

Backend

  • Place the following files in your backend root directory:
    • test-spotify-site.local-key.pem
    • test-spotify-site.local.pem
    • permissions.json
  • Run the following commands to setup backend through the terminal
    • cd backend
    • npm install
    • npm start

How to Use Project

  1. Sign in with Spotify
  • Click the “Log in with Spotify” button on the homepage.
  • Authorize the app to access your Spotify data (this allows the app to show your liked songs, top artists, etc.).
  1. Explore Your Stats
  • View your Liked Songs, Top Songs, and Top Artists by navigating the sidebar.
  • See details like album covers, track info, and the date you added each song.
  1. Edit Your Profile
  • Go to the Profile page to update your display name, bio, or make your profile public/private.
  • Choose which stats you want to share with others.
  1. Discover Other Users
  • Visit the Discover page to browse public profiles.
  • View other users’ music tastes and send them messages.
  1. Join the Conversation
  • Check out the Forums page to see current music discussions.
  • Create new threads, post your thoughts, or like others’ posts.
  1. Send and Receive Messages
  • Use the Inbox to read and send private messages with other users.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages