This is a Node.js REST API application that has the following features:
- Searching for an artist by name from a third party api.
- Writing the result to a user-supplied CSV filename.
- Retrieveing random artists from a JSON file if no results are found from the third party api.
- A Swagger documentation.
- docker* (version 20 minimum)
- make (optional)
If make is not installed, you can check the ./Makefile
for the needed commands.
You can run the following commans to check if docker is installed:
- docker -v
make start
make stop
- node (preferably version 16.X or plus)
- npm
npm run dev
npm test
- you can view the endpoints documentation on http://localhost:5000/api-docs