Sing me a song

Share your favorite songs from youtube and discover what's trending.

Features

  • User ranked youtube music videos

  • Fullstack aplication

  • e2e, integration and unit tested

Tech Stack

React NodeJS TypeScript Postgres Prisma Cypress Jest

Requirements

install npm
nvm install --lts
nvm use --lts
# Verify node version
node --version # Must show v14.16.1
# Verify npm version
npm -v
install postgres
sudo apt install postgresql postgresql-contrib

How to run

  1. Clone this repository
  2. Install dependencies
npm i
  1. set your .env file

  2. Create database with prisma

  • open terminal and run
npx prisma init
npx prisma migrate dev
  1. Run the project with
npm run dev-start (backend/node development test routes)
npm start (frontend/react developtment)
  1. Run tests for the project
npm run test-coverage (backend/jest)
npm cypress open (frontend/cypress)