You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server to manage resources splitting into chunks for parallel download
⚠️ This is a work in progress, the API is not stable yet.⚠️
Setup
Environment variables
# Port to run the serverPORT=8080# Keys to sign cookiesCOOKIES_KEYS=[]# Keys of OAuth2 from GoogleOAUTH2_KEYS={"web":{"client_id":"client_id","project_id":"project_id","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"client_secret","redirect_uris":["http://localhost:8080/auth/google/callback"]}}# MongoDBMONGODB_URI=mongodb://localhost:27017MONGODB_DATABASE=photron
Start
npm start:local
Tests
npm run test:ts
npm run test:units
npm run test:functionals