Skip to content

tcBorek2002/BorTube-Video-Microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BorTube Video Microservice

Run local sonarqube analysis: sonar-scanner.bat -D"sonar.projectKey=Video-MicroService-Local" -D"sonar.sources=." -D"sonar.host.url=http://217.105.22.226:9000" -D"sonar.token=sqp_079eb5d66138b8ea5558f6182b98aa0ef959cd4c"

npm run dev for development. Runs on localhost:8000

Docker deploying:
docker build . -t bortube_video_microservice docker run --name bortube_video_microservice bortube_video_microservice

Run db: docker-compose -f ./docker-compose-db.yml up -d

connection string: postgres://myuser:mysecretpassword@localhost:5432/bortube-db DATABASE_URL="postgres://postgres.xtrezgfporrocooxhkue:PASSWORD@aws-0-eu-west-2.pooler.supabase.com:5432/postgres" Docker exec: psql -d bortube-db -U myuser

CREATE TABLE videos ( id SERIAL PRIMARY KEY, title VARCHAR(100) NOT NULL, duration integer NOT NULL );

CREATE TABLE videos ( id SERIAL PRIMARY KEY, title VARCHAR(100) NOT NULL, duration integer NOT NULL);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published