{"id":31692398,"url":"https://github.com/gftf2011/clean-node-login-api-js","last_synced_at":"2025-10-08T14:06:19.278Z","repository":{"id":38427255,"uuid":"425340467","full_name":"gftf2011/clean-node-login-api-js","owner":"gftf2011","description":"NodeJS AUTH server built with TDD and DDD along with Clean Architecture.","archived":false,"fork":false,"pushed_at":"2025-07-18T09:42:21.000Z","size":4152,"stargazers_count":26,"open_issues_count":24,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T13:43:26.482Z","etag":null,"topics":["clean-architecture","clean-code","ddd","design-patterns","docker","docker-compose","dockerfile","husky","javascript","jest","lint-staged","mongodb","nodejs","redis","solid","tdd"],"latest_commit_sha":null,"homepage":"","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/gftf2011.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-11-06T20:20:56.000Z","updated_at":"2023-10-11T16:50:55.000Z","dependencies_parsed_at":"2024-02-12T04:33:20.156Z","dependency_job_id":"9179acca-5885-41af-b800-0dcea45216cd","html_url":"https://github.com/gftf2011/clean-node-login-api-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gftf2011/clean-node-login-api-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gftf2011%2Fclean-node-login-api-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gftf2011%2Fclean-node-login-api-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gftf2011%2Fclean-node-login-api-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gftf2011%2Fclean-node-login-api-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gftf2011","download_url":"https://codeload.github.com/gftf2011/clean-node-login-api-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gftf2011%2Fclean-node-login-api-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278956330,"owners_count":26075221,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","clean-code","ddd","design-patterns","docker","docker-compose","dockerfile","husky","javascript","jest","lint-staged","mongodb","nodejs","redis","solid","tdd"],"created_at":"2025-10-08T14:06:17.860Z","updated_at":"2025-10-08T14:06:19.266Z","avatar_url":"https://github.com/gftf2011.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\t\u003ch1\u003eClean Node Login Api\u003c/h1\u003e\n  \u003cbr/\u003e\n  \u003cimg src=\"https://img.shields.io/github/languages/code-size/gftf2011/clean-node-login-api-js\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/repo-size/gftf2011/clean-node-login-api-js\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/gftf2011/clean-node-login-api-js\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/package-json/v/gftf2011/clean-node-login-api-js/main\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/last-commit/gftf2011/clean-node-login-api-js\"/\u003e\n  \u003cimg src=\"https://snyk.io/test/github/gftf2011/clean-node-login-api-js/badge.svg\"/\u003e\n  \u003cimg src=\"https://badges.frapsoft.com/os/v1/open-source.svg?v=103\"/\u003e\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"#page_facing_up-about\"\u003eAbout\u003c/a\u003e •\n  \u003ca href=\"#hammer_and_wrench-supported-os\"\u003eSupported OS\u003c/a\u003e • \n  \u003ca href=\"#large_blue_diamond-design-patterns\"\u003eDesign Patterns\u003c/a\u003e •\n  \u003ca href=\"#clipboard-required-tools\"\u003eRequired Tools\u003c/a\u003e •\n  \u003ca href=\"#racing_car-running-project\"\u003eRunning Project\u003c/a\u003e •\n  \u003ca href=\"#test_tube-running-tests\"\u003eRunning Tests\u003c/a\u003e •\n  \u003ca href=\"#file_cabinet-running-swagger\"\u003eRunning Swagger\u003c/a\u003e •\n  \u003ca href=\"#memo-license\"\u003eLicense\u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/gftf2011/clean-node-login-api-js/blob/main/public/img/background.png\" /\u003e\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n## :page_facing_up: About\n\nThis a authentication API developed in pure Vanilla Javascript.\n\nThe objective from this project is to show how to create an API with a well-defined and decoupled architecture, using T.D.D. - (Test Driven Development) as a work methodology, building along with the Clean Architecture concept, dividing the layers responsibility !\n\n\u003cbr/\u003e\n\n## :hammer_and_wrench: Supported OS\n\n- [x] Mac OS\n- [x] Linux\n- [ ] Windows \n\n\u003cbr/\u003e\n\n## :large_blue_diamond: Design Patterns\n\n- Abstract Factory\n- Factory Method\n- Adapter\n- Composition Root\n- Builder\n- Singleton\n\n\u003cbr/\u003e\n\n## :clipboard: Required Tools\n\n- [x] Node - [https://nodejs.org/](https://nodejs.org/)\n  - Node version: 16.x.x\n  - npm version: 8.x.x\n- [x] Yarn - [https://yarnpkg.com/](https://yarnpkg.com/)\n  - Yarn version: 1.22.5\n- [x] Snyk - [https://snyk.io/](https://snyk.io/)\n- [x] Husky - [https://typicode.github.io/](https://typicode.github.io/)\n- [x] Docker - [https://www.docker.com/](https://www.docker.com/)\n\n\u003cbr/\u003e\n\n## :racing_car: Running Project\n\n1. Clone Repository\n```sh\n  $ git clone https://github.com/gftf2011/clean-node-login-api-js.git\n```\n2. Install dependencies\n```sh\n  ################################################################################\n  # YARN usage is recommended, or use the \"npm install\" to install dependencies. #\n  ################################################################################\n  $ yarn\n```\n3. Use command below to run development environment\n```sh\n  $ yarn docker:dev:run\n```\n\n### OBS.: Ensure to install all dependencies in \u003ca href=\"#clipboard-required-tools\"\u003eRequired Tools\u003c/a\u003e\n\n\u003cbr/\u003e\n\n## :test_tube: Running Tests\n```sh\n  $ yarn docker:test:run\n```\n\n\u003cbr/\u003e\n\n## :file_cabinet: Running Swagger\n\n1. Run command below\n```sh\n  $ yarn docs\n```\n2. Access the url - *localhost:3334/api-docs*\n\n\u003cbr/\u003e\n\n## :memo: License\n\nThis project is under MIT license. See the [LICENSE](https://github.com/gftf2011/clean-node-login-api-js/blob/main/LICENSE) file for more details.\n\n---\n\nMade with lots of :heart: by [Gabriel Ferrari Tarallo Ferraz](https://www.linkedin.com/in/gabriel-ferrari-tarallo-ferraz-7a4218135/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgftf2011%2Fclean-node-login-api-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgftf2011%2Fclean-node-login-api-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgftf2011%2Fclean-node-login-api-js/lists"}