{"id":19749584,"url":"https://github.com/mskcc/sample-qc-node","last_synced_at":"2025-07-05T14:37:11.634Z","repository":{"id":55023971,"uuid":"327715243","full_name":"mskcc/sample-qc-node","owner":"mskcc","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-28T18:59:45.000Z","size":1118,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-02-28T08:28:50.166Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mskcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-07T20:14:55.000Z","updated_at":"2021-01-28T18:59:47.000Z","dependencies_parsed_at":"2022-08-14T09:20:39.267Z","dependency_job_id":null,"html_url":"https://github.com/mskcc/sample-qc-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mskcc/sample-qc-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskcc%2Fsample-qc-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskcc%2Fsample-qc-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskcc%2Fsample-qc-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskcc%2Fsample-qc-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mskcc","download_url":"https://codeload.github.com/mskcc/sample-qc-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskcc%2Fsample-qc-node/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263756032,"owners_count":23506487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T02:27:20.077Z","updated_at":"2025-07-05T14:37:11.580Z","avatar_url":"https://github.com/mskcc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IGO Data Team App Template\n\n![Application UI](assets/app_view.png)\n\n## Description\nThis is a barebones project exhibiting IGO Data Team's core stack - react, node, \u0026 mongo.\n\nFeatures Include:\n* MSKCC/IGO design resources\n* Axios Service Calls \u0026 Caching\n* IGO Design resources and linting standards (taken from [igo-dot-files](https://github.com/mskcc/igo-data-dotfiles))\n* CAS Authentication Setup\n* Deployment/Build scripts in README files\n\nPlease use this as a template, but modify and engineer as you see fit. Pull requests welcome!\n\n## Dependencies\n- mongo\n\n## QuickStart\n### I) Frontend\n```\n$ cd ./template-frontend \u0026\u0026 npm install \u0026\u0026 npm run start\n```\n### II) Mongo\n```\n$ mongod\n```\n### III) Backend\n```\n$ cd ./template-backend \u0026\u0026 npm install \u0026\u0026 npm run dev\n```\n\n## Please Read Before Deploying\nPrior to deploying the application, please modify this template in a few sections so that they are relevant to your app.\n### Makefile\nSpecify `[HOST]` to deploy to\n```\ndeploy:\n\tcd ./template-frontend \u0026\u0026 npm run build \u0026\u0026 cd - \\\n\tcd ./template-backend \u0026\u0026 npm run clean \u0026\u0026 cd - \\\n\trsync template-backend [HOST]:deployments/app-template\n```\n\n### template-frontend\n./public/index.html\n```\n\u003cmeta\n  name=\"description\"\n  content=\"Frontend App Template\"\n/\u003e\n```\n\n./package.json\n```\n\"name\": \"app-name\",\n```\n\n./manifest.json\n```\n  \"short_name\": \"Template Frontend\",\n  \"name\": \"Template Frontend\",\n```\n\n### template-backend\n./bin/www\n```\nvar debug = require(\"debug\")(\"app-template:server\");\n```\n./.env\n```\nmongoDB: app-template\n```\n\n./app.js\n```\n// REMOVE ME - populateDB\nconst {populateDB} = require('./models/setup_deleteMe');\npopulateDB();\n```\n\npackage.json\n```\n\"name\": \"template-backend\",\n```\n\n./models/setup_deleteMe.js\n\n`DELETE`\n\n./helpers/constants\n```\nexports.constants = {\n    logger: \"app-template\"\n};\n```\n\n./helpers/winston\n```\nlabel({label: \"App-Template\"}),\t// Added to log lines, e.g. { ..., \"label\":\"App-Template\"}\n```\n\n## Requested Features\n* Backend Tests\n```\n$ pwd\n/app-template/template-backend\n\n$ npm run test\n\n\u003e template-backend@1.0.0 test /Users/streidd/work/app-template/template-backend\n\u003e ENV=test JWT_SECRET={ADD_JWT_SECRET} nyc _mocha --timeout 10000 --exit --report lcovonly -- -R spec\n\nError: No test files found: \"test\"\n----------|----------|----------|----------|----------|-------------------|\nFile      |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |\n----------|----------|----------|----------|----------|-------------------|\nAll files |        0 |        0 |        0 |        0 |                   |\n----------|----------|----------|----------|----------|-------------------|\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! template-backend@1.0.0 test: `ENV=test JWT_SECRET={ADD_JWT_SECRET} nyc _mocha --timeout 10000 --exit --report lcovonly -- -R spec`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the template-backend@1.0.0 test script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!     /Users/streidd/.npm/_logs/2020-06-19T18_58_28_098Z-debug.log \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskcc%2Fsample-qc-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmskcc%2Fsample-qc-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskcc%2Fsample-qc-node/lists"}