Skip to content

In this platform, users can anonimally send video recommendations. A fullstack project to apply end-to-end, integration and unit tests.

Notifications You must be signed in to change notification settings

teles-tarcisio/sing-me-a-song

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

sing-me-a-song

Description

This is a small fullstack application that anonimously receives youtube video recommendations. Users can upvote or downvote the sent videos to change its scores. The higher the score of a video, the more it is recommended for users. This project is mainly intended to have end-to-end (e2e), integration and unit tests applied.

Installation

$ git clone https://github.com/teles-tarcisio/sing-me-a-song

Backend installation:

$ cd sing-me-a-song/back-end/
$ npm i

Frontend installation:

$ cd sing-me-a-song/front-end/
$ npm i

Usage:

To start the backend server:

$ cd sing-me-a-song/back-end/
$ npm run prisma:migrate-test
$ npm run dev:test

To start the frontend server:

$ cd sing-me-a-song/front-end/
$ npm run start

To run E2E tests:

With the backend started and running on another terminal, open a new terminal and do:

 $ cd sing-me-a-song/front-end/
 $ npm run start
 $ npm run test:cypress

To run integration tests:

On a single terminal, do:

$ cd sing-me-a-song/back-end/
$ npm run test:integration

To run unit tests:

On a single terminal, do:

$ cd sing-me-a-song/back-end/
$ npm run test:unit

About

In this platform, users can anonimally send video recommendations. A fullstack project to apply end-to-end, integration and unit tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published