- The program will take any input file with a syntax like given
discography.txt
- It accepts an artist name which will be used to name the trello board
- All the tasks are performed serially. I know they could be performed in parallel and this could be faster, but since the number of albums are unknown, I decided to implement it serially to avoid concurrent request limits in trello / spotify APIs.
To install project dependencies and run the exercise using example discography.txt
data use:
npm install
npm start
Create config.json
file with trello and spotify authentication information. Use configTemplate.json
as a template:
{
"trello": {
"key": "FILL_ME",
"token": "FILL_ME"
},
"spotify": {
"id": "FILL_ME",
"secret": "FILL_ME"
}
}
After execution a trello board like the following should be created: