Do you trust people's musical preference? 👀 Then let me recommend you a song ☜(゚ヮ゚☜)
Explore the docs »
Sing me a song is an API to help people to make, get and give their opinion about music recommendation. Project made to improve unit tests skills while learning error handling.
- npm
- Clone backend repo
git clone https://github.com/cybalencar96/sing-me-a-song.git
- Install dependencies executing comand in root
npm i
- Create a .env.dev file in backend root folder with following variables
DB_USER
DB_HOST
DB_PASS
DB_PORT
DB_NAME
- Create a postgres database and fill .env.dev with database credentials
DB_USER=postgres
DB_HOST=localhost
DB_PASS=123456
DB_PORT=5432
DB_NAME=sing
- Run (copy & paste) the dump.sql statements in database
npm run dev