Skip to content

markusewalker/algorhythm

Repository files navigation

AlGoRhythm

Tests
Tests

AlGoRhythm is a Golang-based web application that tracks the user's top artists and top tracks of the month.

Table of Contents

  1. Prerequisites
  2. Getting Started
  3. Testing

Prerequisites

In order to properly run this, you will need the following tools installed and configured on your client machine:

  • go
  • npm
  • Spotify developer account

Once you have your Spotify developer account, you will need to ensure that you have an app specific to run this project. Once created, take note of the client secret and client ID as you will need it later.

Getting Started

Before running the command, you will need to create an .env file at the root directory. The file needs to have the following:

CLIENT_ID="<spotify developer client id>"
CLIENT_SECRET="<spotify developer client secret>"
STATE="<any value>"

For STATE, this value is up to the user, but it is recommended to use an encrypted password.

Once you have followed the prerequisites and installed all the needed dependencies, simply run the following command: go run main.go. From there, your default browser should kick off the web application against http://localhost:8080.

Once done, you should see the following login page accompanied by your unique home page:

login-screen

home-screen

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors