top
(README.md)
# Groupify!

![logo](https://raw.githubusercontent.com/gophergala/teamOFP/master/api/public/images/groupify.go-logo.png?token=AAAvtebSJotkBbqi-NJzbuKhTsC0ueFmks5Uzsd9wA%3D%3D)

## The social jukebox for your team, powered by Go!

### Components

* Remote - Spotify.app control app (run locally)
* API - Portal (manages queue, controls Remote)
* Amazon SQS - Messaging between Portal and Remote

### Getting started
#### Deploy
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

#### Remote

##### Build & Run

1. `go get` - Install required packages
1. `go build` - Build binary
1. `./remote` - Run remote app

*Note:* You will need to provide Remote with an Amazon access key and secret key for an SQS queue as environment variables or via a `.env` file.
```
ACCESS_KEY=XXXXXXXXXXX
ACCESS_SECRET=XXXXXXXXXXXXXXX
```

#### API

##### Build & Run

1. `go get` - Install required packages
1. `go build` - Build binary
1. `./api` - Run Portal

*Note:* You will need to provide Remote with an Amazon access key and secret key for an SQS queue as environment variables or via a `.env` file.
```
ACCESS_KEY=XXXXXXXXXXX
ACCESS_SECRET=XXXXXXXXXXXXXXX
```

Imports 8 package(s) ΒΆ

  1. golang.org/x/oauth2
  2. github.com/codegangsta/negroni
  3. github.com/gorilla/websocket
  4. github.com/lib/pq
  5. github.com/joho/godotenv
  6. github.com/jmoiron/sqlx
  7. github.com/gorilla/mux
  8. github.com/gorilla/sessions