An API server built with Hapi for Pass the Aux
- Navigate your terminal to this repository's root directory.
- Execute the command 'npm install'.
- Create a .env file and follow the formatting guide.
- If TLS_ENABLED=true, edit the paths in index.js to match your certificates' locations.
- Start the server with the command 'npm start' or equivalent.
HOST=(examples: localhost or https://google.com)
PORT=(example: 3000)
TLS_ENABLED=(values: true or false)
COOKIE_PASSWORD=(Random UUID string)
SPOTIFY_CLIENT_ID=(Spotify API client ID)
SPOTIFY_CLIENT_SECRET=(Spotify API client secret)
MONGO_URI=(Full MongoDB URI)