Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 473 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 473 Bytes

Heerdle

Developing

First, seed the 'tracks' database collection:

  1. Setup connection to spotify and mongodb
# ./.env
SPOTIFY_CLIENT_ID=abc
SPOTIFY_CLIENT_SECRET=123
MONGODB_URI=mongodb+srv://database:[email protected]/?retryWrites=true&w=majority
MONGODB_DB=database
  1. Get the top tracks from Spotify to seed
nvm use
npm install
npm run seed

Then, get the frontend up and running

cd frontend
npm install
npm run dev