module
0.0.0-20230419194546-c068daba603d
Repository: https://github.com/aarti2626/mixify.git
Documentation: pkg.go.dev
# README
Mixify
Mixify is a free full-stack web application that aims to expand a user's Spotify discography by generating a unique playlist tailored to the user's personality, mood, and desires. After users take a Buzzfeed-style quiz, we use Spotify's web API to match the user's preferences with song properties such as danceability, tempo, loudness, etc.
Members
Aarti Kalamangalam - Backend
Ursa Pillay - Frontend
Cathy Quan - Frontend
Nathan Schoedl - Backend
Set up frontend
- Check to see if you have node installed on your computer by running the command
node -v
in a terminal. If you do not have node installed, you can download it here. From there, download Angular CLI by running the following command in the terminal:npm install -g @angular/cli
- Clone the repository with the command
git clone
or by downloading a zip file.
Set up backend
- Install Golang using the instructions here.
- Install the following packages using the command
go get
:github.com/google/uuid
,github.com/gorilla/mux
, andgithub.com/zmb3/spotify
. For more information on the "go get" installation command, read here. - Generate a Spotify Client ID and Client Secret using the instructions here or, alternatively, email us ("Schoedl, Nathan W." [email protected], "Kalamangalam,Aarti" [email protected]) for these details. Using either approach, fill in the Client ID and Client Secret in the respective spots in the file
authenticate.go
. This file is located under src/server/api. The function in question is calledAuthenticate
.
authConfig := &clientcredentials.Config{
ClientID: "enter clientID here",
ClientSecret: "enter clientSecret here",
TokenURL: spotify.TokenURL,
}
- To start the backend, run
go run main.go
in the terminal, making sure you are in the directory src/server. - Open a different terminal and in the main Mixify directory, run the command
ng serve
. - Open a browser on your computer and type
localhost:8080
in the search bar.
# Packages
No description provided by the author