Skip to content

piterjs/video-trimmer

Repository files navigation

Video trimmer

Build StatusStorybook

Directories

  • /server - backend
  • /app - react app
  • /shared - shared source
  • /watcher - trimmer & uploader service

How to Contribute

Already a JavaScript developer? Pick an issue, push a PR.

Prerequisites:

Development

  1. clone repo git clone https://github.com/piterjs/video-trimmer.git
  2. install dependencies make dep && make templates
  3. Edit envs vim server/.env
  4. Copy youtube secrets
  • mv youtube_client_secret.json server/secrets/client_id.json
  • mv youtube_client_secret.json watcher/secrets/client_id.json
  1. start backend cd server && docker-compose up -d && npm run dev
  2. start app cd app && npm start
  3. start watcher cd watcher && npm run dev

Envs

  • PORT - server port
  • MONGO_URL - mongodb connection string
  • AUTHORIZATION_URL - JetBrains HUB oauth2 url
  • TOKEN_URL - JetBrains HUB token url
  • CLIENT_ID - JetBrains HUB client id
  • CLIENT_SECRET - JetBrains HUB secret
  • CALLBACK_URL - Oauth callback url
  • OAUTHBASE_URL - hub url
  • INFLUX_HOST - influxdb host
  • INFLUX_PORT - influxdb port
  • INFLUX_DB - influxdb dbname
  • KUBE_SERVER - Kubernetes server url
  • KUBE_NAMESPACE - Kubernetes namespace
  • KUBE_CA - Kubernetes certificate
  • KUBE_TOKEN - Kubernetes token

Local Services

Releases

No releases published

Packages

No packages published

Languages