YTCC is a project aiming to be an online collaboratable closed caption editing tool for YouTube videos.
The ultimate goal of this project is to let people understand videos and alike from all over the world, stimulating "culture cross-pollination".
- Create Google Oauth Client Credentials. For details see here.
- Install MongoDB Community Edition and create an admin user. Please also see here or else you wouldn't be able to successfully create user.
- Create
db/
directory at project root. - Create
.env
file from the.env.example
file, and replace the google client information you retrieved in step 1, and mongoDB username and password you setup in step 2. - Go to both backend and frontend directory and
yarn
.
- Run
./db-script.sh
to run database. yarn dev
in backend directory to run backend server.yarn dev
in frontend directory to run frontend client. Or, you can build static files byyarn build
and start static server byyarn start
.
old/
: files from the old versionapi/
: common api type definitionspec/
: yaml files of api and page design.gitignore
: files to be ignored by git.env.example
: example dotenv filedb-script.sh
: script that starts mongoDBvetur.config.js
: this is to let VScode Vetur extension know where the frontend directory is locatedfrontend/
: frontend, see frontend Readme.mdbackend/
: backendsrc/
: code directoryserver.ts
: entry pointmiddleware.ts
: authentication middlewareroute/
: routesschema/
: Mongoose Schemasutil/
: utility functions