Categorygithub.com/aarti2626/Mixify
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

  1. 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
  2. Clone the repository with the command git clone or by downloading a zip file.

Set up backend

  1. Install Golang using the instructions here.
  2. Install the following packages using the command go get: github.com/google/uuid, github.com/gorilla/mux, and github.com/zmb3/spotify. For more information on the "go get" installation command, read here.
  3. 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 called Authenticate.
authConfig := &clientcredentials.Config{
		ClientID:     "enter clientID here",
		ClientSecret: "enter clientSecret here",
		TokenURL:     spotify.TokenURL,
	}
  1. To start the backend, run go run main.go in the terminal, making sure you are in the directory src/server.
  2. Open a different terminal and in the main Mixify directory, run the command ng serve.
  3. Open a browser on your computer and type localhost:8080 in the search bar.

# Packages

No description provided by the author