# collect-spotify-analytics

## Prerequisites
- [Node.js](https://nodejs.org) >=7.0.0
- [yarn](https://yarnpkg.com) >=0.16.1

## Setup
```bash
yarn install
```
Create an `.env` file in the project root directory and add the following with correct secrets:
```
AWS_ACCESS_KEY_ID=__SECRET__
AWS_SECRET_ACCESS_KEY=__SECRET__
SPOTIFY_CLIENT_ID=__SECRET__
SPOTIFY_CLIENT_SECRET=__SECRET__
```

## Run in dev mode
```bash
yarn run dev
```

## Lint
```bash
yarn run lint
```

## Docker
```bash
yarn run docker-build
yarn run docker-run
```
