{"id":37489639,"url":"https://github.com/luizcarlosfaria/generator-node-api-docker-1st-class-experience","last_synced_at":"2026-01-16T07:35:45.601Z","repository":{"id":57248135,"uuid":"95058836","full_name":"luizcarlosfaria/generator-node-api-docker-1st-class-experience","owner":"luizcarlosfaria","description":"NodeJS + Typescript + TSLint + Restify + MongoDB + Docker, With VS Code Automation = VSCode TypeScript Live Debug with Containers","archived":false,"fork":false,"pushed_at":"2019-11-12T12:56:53.000Z","size":734,"stargazers_count":22,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-10T09:18:17.598Z","etag":null,"topics":["docker","mongodb","node","nodejs","restify","vscode"],"latest_commit_sha":null,"homepage":"http://gago.io/blog/nodejs-typescript-tslint-restify-mongodb-docker-vscode-yeoman-uma-experiencia-de-desenvolvimento-incrivel/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luizcarlosfaria.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-22T00:42:47.000Z","updated_at":"2019-11-12T12:55:58.000Z","dependencies_parsed_at":"2022-08-24T16:11:09.692Z","dependency_job_id":null,"html_url":"https://github.com/luizcarlosfaria/generator-node-api-docker-1st-class-experience","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/luizcarlosfaria/generator-node-api-docker-1st-class-experience","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcarlosfaria%2Fgenerator-node-api-docker-1st-class-experience","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcarlosfaria%2Fgenerator-node-api-docker-1st-class-experience/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcarlosfaria%2Fgenerator-node-api-docker-1st-class-experience/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcarlosfaria%2Fgenerator-node-api-docker-1st-class-experience/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luizcarlosfaria","download_url":"https://codeload.github.com/luizcarlosfaria/generator-node-api-docker-1st-class-experience/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcarlosfaria%2Fgenerator-node-api-docker-1st-class-experience/sbom","scorecard":{"id":603726,"data":{"date":"2025-08-11","repo":{"name":"github.com/luizcarlosfaria/generator-node-api-docker-1st-class-experience","commit":"f6db3366a760f55b9d0204af301ab39199f8b394"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"internal error: internal error: invalid Dockerfile","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/23 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"76 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-3gx7-xhv7-5mx3","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-w457-6q6x-cgp9","Warn: Project is vulnerable to: GHSA-62gr-4qp9-h98f","Warn: Project is vulnerable to: GHSA-f52g-6jhx-586p","Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv","Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8","Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65","Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-f98m-q3hr-p5wq","Warn: Project is vulnerable to: GHSA-39q4-p535-c852","Warn: Project is vulnerable to: GHSA-h86x-mv66-gr5q","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-fhjf-83wg-r2j9","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp","Warn: Project is vulnerable to: GHSA-c6rq-rjc2-86v2","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T01:07:00.522Z","repository_id":57248135,"created_at":"2025-08-21T01:07:00.522Z","updated_at":"2025-08-21T01:07:00.522Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","mongodb","node","nodejs","restify","vscode"],"created_at":"2026-01-16T07:35:45.423Z","updated_at":"2026-01-16T07:35:45.590Z","avatar_url":"https://github.com/luizcarlosfaria.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-node-api-docker-1st-class-experience [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage percentage][coveralls-image]][coveralls-url] [![Downloads][npm-downloads-week]][npm-url] [![Downloads][npm-downloads-month]][npm-url] [![Downloads][npm-downloads-year]][npm-url] [![Downloads][npm-downloads-all]][npm-url]\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/luizcarlosfaria/generator-node-api-docker-1st-class-experience.svg)](https://greenkeeper.io/)\n\u003e NodeJS + Typescript + TSLint + Restify + MongoDB + Docker, With VS Code Automation = VSCode TypeScript Live Debug with Containers\n\n## Installation\n\nFirst, install [Yeoman](http://yeoman.io) and generator-node-api-docker-1st-class-experience using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).\n\n```bash\nnpm install -g yo generator-node-api-docker-1st-class-experience\n```\n\n## Then generate your new project:\n\n1. Create a new folder.\n\n2. Run ```yo node-api-docker-1st-class-experience```\n\n3. Open VSCode `code .`\n\n4. Put a breakpoint at line 21 of ./src/server.ts \n\n5. Just press F5 key (The first launch task uses docker to debug, you have other two options to debug in launch dropdown)\n\n## The 1st class experience with NodeJS, Typescript, Docker\n\n * A NodeJS API with TypeScript, TSLint, Restify, MongoDB.\n * Using VSCode you will be able to:\n    * Use VSCode to debug TypeScript based NodeJS application locally (using `Local debug` debug configuration).\n    * Use VSCode to build and debug the TypeScript based NodeJS application behind the docker container with Docker Compose (using `Docker debug` debug configuration).\n    * Use VSCode to build and debug with live reload of the TypeScript based NodeJS application behind the docker container with Docker Compose (using `[docker] build-and-watch` VSCode task and `Docker + watch debug` debug configuration).\n * With docker you will be able to:\n    * v3 based docker-compose.yml.\n    * The build is two-phase based, to get packages separately of application build.\n    * Execute `docker-compose up` command to create a production ready deployment.\n    * MongoDB container will be created side-by-side with your aplication, automatically, secured by authentication.\n * VSCode Integration\n    * 3 debug options.\n    * 5 VSCode tasks (including build task) to perform all necessary operations to manage, debug and build with docker.\n    * TSLint with autofix enabled on VSCode and Build.\n    * Use status-bar-tasks [Status Bar Tasks VSCode plugin][status-bar-tasks-url]  to see all tasks on status bar or use `Tasks: Run Task` with pressing `Ctrl+p \u003e`\n \n## Notes\n* Local build will run in 2 seconds.\n* First docker build is a full build and will during 3 minutes or more (depending on your connection speed).\n* Every next build will run in seconds (\n* Only changes in below files will demand a full build:\n  * `package-lock.json`\n  * `package.json`\n  * `tsconfig.json`\n  * `tslint.json`\n  * `typings.json`\n\n## License\n\n![MIT][npm-license] © [Luiz Carlos Faria](http://gago.io/) ![made in brazil][brazil]\n\n\n[brazil]:http://www.goal.cc/content/images/flags/28.png\n[npm-image]: https://badge.fury.io/js/generator-node-api-docker-1st-class-experience.svg\n[npm-url]: https://npmjs.org/package/generator-node-api-docker-1st-class-experience\n[travis-image]: https://travis-ci.org/luizcarlosfaria/generator-node-api-docker-1st-class-experience.svg?branch=master\n[travis-url]: https://travis-ci.org/luizcarlosfaria/generator-node-api-docker-1st-class-experience\n[daviddm-image]: https://david-dm.org/luizcarlosfaria/generator-node-api-docker-1st-class-experience.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/luizcarlosfaria/generator-node-api-docker-1st-class-experience\n[coveralls-image]: https://coveralls.io/repos/luizcarlosfaria/generator-node-api-docker-1st-class-experience/badge.svg\n[coveralls-url]: https://coveralls.io/r/luizcarlosfaria/generator-node-api-docker-1st-class-experience\n[status-bar-tasks-url]:https://marketplace.visualstudio.com/items?itemName=GuardRex.status-bar-tasks\n[dependencies]:https://img.shields.io/david/luizcarlosfaria/generator-node-api-docker-1st-class-experience.svg\n\n\n\n[npm-downloads-all]:https://img.shields.io/npm/dt/generator-node-api-docker-1st-class-experience.svg\n[npm-downloads-week]:https://img.shields.io/npm/dw/generator-node-api-docker-1st-class-experience.svg\n[npm-downloads-month]:https://img.shields.io/npm/dm/generator-node-api-docker-1st-class-experience.svg\n[npm-downloads-year]:https://img.shields.io/npm/dy/generator-node-api-docker-1st-class-experience.svg\n[npm-license]:https://img.shields.io/npm/l/generator-node-api-docker-1st-class-experience.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizcarlosfaria%2Fgenerator-node-api-docker-1st-class-experience","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluizcarlosfaria%2Fgenerator-node-api-docker-1st-class-experience","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizcarlosfaria%2Fgenerator-node-api-docker-1st-class-experience/lists"}