{"id":21706666,"url":"https://github.com/luizcalaca/api-typescript-tdd-cleanarch","last_synced_at":"2026-04-13T15:31:51.961Z","repository":{"id":46985471,"uuid":"445799228","full_name":"luizcalaca/api-typescript-tdd-cleanarch","owner":"luizcalaca","description":"A project showing the great Software architecture with clean architecture (uncle Bob)","archived":false,"fork":false,"pushed_at":"2022-07-20T01:55:56.000Z","size":370,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T19:39:43.454Z","etag":null,"topics":["clean-architecture","git","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/luizcalaca.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":"2022-01-08T11:21:12.000Z","updated_at":"2022-04-13T20:18:43.000Z","dependencies_parsed_at":"2022-09-24T20:00:29.463Z","dependency_job_id":null,"html_url":"https://github.com/luizcalaca/api-typescript-tdd-cleanarch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luizcalaca/api-typescript-tdd-cleanarch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcalaca%2Fapi-typescript-tdd-cleanarch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcalaca%2Fapi-typescript-tdd-cleanarch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcalaca%2Fapi-typescript-tdd-cleanarch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcalaca%2Fapi-typescript-tdd-cleanarch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luizcalaca","download_url":"https://codeload.github.com/luizcalaca/api-typescript-tdd-cleanarch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcalaca%2Fapi-typescript-tdd-cleanarch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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":["clean-architecture","git","typescript"],"created_at":"2024-11-25T22:13:40.189Z","updated_at":"2026-04-13T15:31:51.943Z","avatar_url":"https://github.com/luizcalaca.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# api-typescript-tdd-cleanarch\n\n## Git configurations\n\n```sh\ngit config --list (all the configurations that we have on local machine\ngit config --system (git for all users on system)\ngit config --global (configuration for my user for all projects)\n```\n\n```sh\ngit config --global --edit (for editing configurations with vi)\ngit config --global core.editor code (for editing with visual code)\n```\n\nSome created alias with --global:\n\n```sh\n[core]\n\teditor = code --wait\n[alias]\n\ts = !git status -s\n\tc = !git add --all \u0026\u0026 git commit -m\n\tl = !git log --pretty=format:'%C(blue)%h %C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr'\n```\n\n```sh\ngit commit --ammend --no-edit (join with previous commit)\n```\n## Git commit linter for conventional commits\n\nLink: https://www.conventionalcommits.org/en/v1.0.0/\nLink: https://www.npmjs.com/package/git-commit-msg-linter\n\n```sh\nnpm i git-commit-msg-linter\n```\n\n## Typescript configurations\n\n```sh\nnpm i -D typescript @types/node\n```\n\nAfter install it we can create the tsconfig.json\n\nESlint with Typescript\n\nlink: https://github.com/standard/eslint-config-standard-with-typescript\n\n## Husky and Lint-staged configurations\n\n```sh\nnpm install husky --save-dev\n```\n\nWe use it for commit quality, because it not permits that file be committed without typescript standard (eslint)\n\nLet's use lint-staged for husky executing only in files on staging area. Like this, we don't need do verify all files, but just the current work.\n\n```sh\nnpm i -D lint-staged \n```\n\nCreate .huskyrc.json and its configurations as well .lintstagedrc.json.\nHusky call lint-staged for eslint executing.\n\n## Jest configurations\n\n```sh\nnpm i -D jest @types/jest ts-jest\n```\n\n```sh\nnpx jest --init\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizcalaca%2Fapi-typescript-tdd-cleanarch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluizcalaca%2Fapi-typescript-tdd-cleanarch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizcalaca%2Fapi-typescript-tdd-cleanarch/lists"}