Skip to content

lugavin/moviebay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

MovieBay

Back-end

Project setup

# postgres/docker-compose.yml
version: '3.7'
services:
  postgres:
    container_name: postgres
    image: postgres
    restart: always
    ports:
      - 5432:5432
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
#  redis/docker-compose.yml
version: '3.7'
services:
  redis:
    container_name: redis
    image: redis
    restart: always
    ports:
      - 6379:6379
$ docker-compose -f postgres/docker-compose.yml -f redis/docker-compose.yml up -d

$ npm install

Compiles and hot-reloads for development

$ npm start:dev

Init data

$ cd back-end
$ curl -X POST -H "Content-Type: application/json" -d @src/data/dicts.json  http://127.0.0.1:3000/dicts
$ curl -X POST -H "Content-Type: application/json" -d @src/data/videos.json http://127.0.0.1:3000/videos
$ curl -X POST -H "Content-Type: application/json" -d @src/data/series.json http://127.0.0.1:3000/episodes

Front-end

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

About

MovieBay build with vuetify & nestjs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published