Sing Me A Song is a web api for music recommendation. This is a public API and it is currently deployed to heroku.
-
GET /recommendations/random
-
GET /recommendations/top/$AMOUNT
-
GET /recommendations/genres/$ID/random
-
GET /genres
-
GET /genres/$ID/
-
POST /recommendations
expects: {"name":"$NAME", "youtubeLink":"$LINK"} -
POST /recommendations/$ID/upvote
expects nothing -
POST /recommendations/$ID/downvote
expects nothing -
POST /genres
expects: {"name":"$NAME"}
- NodeJS , ExpressJS , TypeScript , PostgreSQL
- Linux
- Jest, Supertest
- Install NodeJS, nvm and git
- $ git clone https://github.com/vitorelourenco/sing-me-a-song.git
- $ npm i
- Create your psql dev database, there's a dump at /dump_database_example.sql (there's no sensitive information there)
- Create your psql test database
- Create your .env and .env.test files (there are examples at /.env.example /.env.test.example)
- $ npm run test
- $ npm run dev
- $ npm run build
- All dependencies are listed in the package.json file.
- You can deploy this project on heroku like I did. There are plenty of tutorials online and it's free.
👤 Vitor Emanuel Lourenco
- GitHub: @vitorelourenco
- Twitter: @Vitorel
- LinkedIn: vitoremanuellourenco
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- RespondeAi (https://www.respondeai.com.br/)