https://github.com/victor141516/lyrics-api
https://github.com/victor141516/lyrics-api
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/victor141516/lyrics-api
- Owner: victor141516
- License: apache-2.0
- Created: 2021-05-30T14:26:02.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-30T14:57:37.000Z (about 4 years ago)
- Last Synced: 2025-01-29T09:41:00.666Z (5 months ago)
- Language: TypeScript
- Size: 65.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lyrics API
API to get lyrics from Genius. As easy as make a `GET` to `/?q=name+of+the+song+name+of+artist`
## How to
```sh
docker network create lyrics-apidocker run -d \
--restart unless-stopped \
--name lyrics-api-mongo \
--network lyrics-api \
-v $(pwd)/data:/data/db \
mongodocker run -d \
--restart unless-stopped \
--name lyrics-api-mongo-express \
--network lyrics-api \
-e ME_CONFIG_MONGODB_SERVER=lyrics-api-mongo \
mongo-expressdocker run -d \
--restart unless-stopped \
--name lyrics-api-app \
--network lyrics-api \
-e GENIUS_API=xxxxxxxxxxxxxxxxxxxxxxx \
-e PORT=3000 \
-e MONGO_URL=mongodb://lyrics-api-mongo:27017 \
victor141516/lyrics-api
```Not you have to reverse proxy somehow that `lyrics-api-app` container and expose the port 3000