{"id":13674845,"url":"https://github.com/Talento90/typescript-node","last_synced_at":"2025-04-28T14:32:24.107Z","repository":{"id":2500364,"uuid":"42483613","full_name":"Talento90/typescript-node","owner":"Talento90","description":":clipboard: TypeScript and NodeJS project template.","archived":false,"fork":false,"pushed_at":"2023-01-11T01:47:07.000Z","size":1096,"stargazers_count":362,"open_issues_count":16,"forks_count":76,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-14T22:19:38.318Z","etag":null,"topics":["docker","koa2","mysql","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Talento90.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":"2015-09-14T23:49:04.000Z","updated_at":"2024-03-20T04:47:39.000Z","dependencies_parsed_at":"2023-01-13T11:54:22.960Z","dependency_job_id":null,"html_url":"https://github.com/Talento90/typescript-node","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talento90%2Ftypescript-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talento90%2Ftypescript-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talento90%2Ftypescript-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talento90%2Ftypescript-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Talento90","download_url":"https://codeload.github.com/Talento90/typescript-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251330447,"owners_count":21572286,"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":["docker","koa2","mysql","nodejs","typescript"],"created_at":"2024-08-02T11:01:04.598Z","updated_at":"2025-04-28T14:32:23.533Z","avatar_url":"https://github.com/Talento90.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# typescript-node [![Build Status](https://travis-ci.org/Talento90/typescript-node.svg?branch=master)](https://travis-ci.org/Talento90/typescript-node) [![codecov](https://codecov.io/gh/Talento90/typescript-node/branch/master/graph/badge.svg)](https://codecov.io/gh/Talento90/typescript-node) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/7e1b73f83bf7485c9d75e8ea9f853d36)](https://www.codacy.com/app/Talento90/typescript-node?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=Talento90/typescript-node\u0026amp;utm_campaign=Badge_Grade)\n\n\nTemplate for building nodejs and typescript services. The main goal of this boilerplate is to offer a good Developer Experience (eg: debugging, watch and recompile) by providing the following features out of the box:\n\n***Features***\n\n* Language - [TypeScript](https://www.typescriptlang.org/)\n* REST API - [koa2](http://koajs.com/)\n* Graceful Shutdown - [Pattern](https://nemethgergely.com/nodejs-healthcheck-graceful-shutdown/)\n* HealthCheck - [Pattern /health](http://microservices.io/patterns/observability/health-check-api.html)\n* SQL Database \u0026 Migrations - [knex](http://knexjs.org/)\n* Authentication and Authorization - [JWT](https://github.com/auth0/node-jsonwebtoken)\n* Validation - [Joi](https://github.com/hapijs/joi)\n* Testing - [Mocha](https://mochajs.org/) [Chai](http://www.chaijs.com/) + [Sinon](http://sinonjs.org/) [Coverage](https://istanbul.js.org/)\n* Code Style - [Prettier](https://prettier.io/)\n* Git Hooks - [Husky](https://github.com/typicode/husky)\n\n## Installation \u0026 Run\n\n* *npm install* - Install dependencies\n* *npm run start* - Start application (It needs a mysql database)\n\n### Running with Docker\n\n* *docker-compose up* (compose and run, it also creates the mysql database)\n* *docker-compose down* (Destroy application and mysql containers)\n\n## Useful npm commands\n\n* *npm run build* - Transpile TypeScript code\n* *npm run clean* - Remove dist, node_modules, coverage folders\n* *npm run coverage* - Run NYC coverage\n* *npm run lint* - Lint your TypeScript code\n* *npm run start:dev* - Run application in dev mode (debug \u0026 watch). Debug mode is running on port 5858 (open `chrome://inspect/#devices`).\n* *npm run test* - Run unit tests\n* *npm run test:integration* - Run integration tests\n* *npm run test:all* - Run Unit and Integration tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTalento90%2Ftypescript-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTalento90%2Ftypescript-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTalento90%2Ftypescript-node/lists"}