https://github.com/antklim/whats-the-tabs
Service to search for tabs
https://github.com/antklim/whats-the-tabs
example nodejs
Last synced: 3 months ago
JSON representation
Service to search for tabs
- Host: GitHub
- URL: https://github.com/antklim/whats-the-tabs
- Owner: antklim
- Created: 2019-05-23T23:00:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-16T00:39:26.000Z (about 4 years ago)
- Last Synced: 2025-08-22T11:50:59.619Z (11 months ago)
- Topics: example, nodejs
- Language: JavaScript
- Homepage:
- Size: 159 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# whats-the-tabs
This is an example service to find guitar tabs for the songs. The songs could be
searched by name pattern or by artist name. The service uses [Songsterr API](https://www.songsterr.com)
to get tabs.
The purpose of this service is educational only. This is an example of how to
create and test application with microservices architecture.
## Application architecture
```
+--------+ +----------------+ +--------------+
| Client | ---> | WhatsTheTabAPI |---> | SongsterrAPI |
+--------+ +----------------+ +--------------+
```
## Application configuration
The following environment variables are used by application:
- DEBUG - enables debug logging in application and supports logs filtering (see [debug](https://www.npmjs.com/package/debug))
- NODE_DEBUG - enables HTTP request/response logging (see [request debugging](https://www.npmjs.com/package/request#debugging))
- DEBUG_REQUEST_TIMINGS - when set to __true__ the request timings information will be added to the response payload (see [request time options](https://www.npmjs.com/package/request#requestoptions-callback))
- REQUEST_TIMEOUT - sets the HTTP request timeout in msec
- DOWNSTREAM_API_URL - the base URL of the downstream service to fetch data, in this example Songsterr is downstream service