{"id":18612462,"url":"https://github.com/alejandro945/ttt-auth-microservice","last_synced_at":"2025-11-02T23:30:26.502Z","repository":{"id":69072190,"uuid":"487988824","full_name":"alejandro945/ttt-auth-microservice","owner":"alejandro945","description":"An architectural style that structures an application as a collection of services that are Highly maintainable and testable and Loosely coupled","archived":false,"fork":false,"pushed_at":"2022-05-03T03:49:51.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"TA-10-CREATE-AUTH-MICROSERVICE","last_synced_at":"2024-12-27T02:14:04.503Z","etag":null,"topics":["authentication","endpoint","microservices","nestts"],"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/alejandro945.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-02T20:57:29.000Z","updated_at":"2022-08-27T02:11:05.000Z","dependencies_parsed_at":"2023-03-07T22:15:48.823Z","dependency_job_id":null,"html_url":"https://github.com/alejandro945/ttt-auth-microservice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro945%2Fttt-auth-microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro945%2Fttt-auth-microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro945%2Fttt-auth-microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro945%2Fttt-auth-microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejandro945","download_url":"https://codeload.github.com/alejandro945/ttt-auth-microservice/tar.gz/refs/heads/TA-10-CREATE-AUTH-MICROSERVICE","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239402869,"owners_count":19632467,"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":["authentication","endpoint","microservices","nestts"],"created_at":"2024-11-07T03:17:15.045Z","updated_at":"2025-11-02T23:30:26.419Z","avatar_url":"https://github.com/alejandro945.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://miro.medium.com/max/1400/1*7R3X6gEz2RLRf2ypJTp79w.png\"\u003e\n\u003c/div\u003e\n\n# Auth Microservice ☄️\n\n**The Microservice architecture**: Is an architectural style that structures an application as a collection of services that are:\n\n- Highly maintainable and testable\n- Loosely coupled\n- Independently deployable\n- Organized around business capabilities\n\nMicroservices approach is all about handling a complex system, but in order to do so, the approach introduces its own set of complexities and implementation challenges. which we will learn in the next part of this series!\n\n# 🗺 Roadmap\n\n| Resources | Description |\n| ------------- | - |\n| 🧶 **[Framework]** | New using Nest? Here's everything you need to know! |\n| 🧅 **[Clean Architecture]** | Minimize the human resources required to build and maintain the required system. |\n| 🎉 **[Functional Guide]** | Build production ML pipelines with simple functions. |\n\n[Framework]: https://docs.nestjs.com/\n[Clean Architecture]: https://www.freecodecamp.org/news/a-quick-introduction-to-clean-architecture-990c014448d2/\n[Functional Guide]: https://github.com/alejandro945\n\n## Nest as Backend Framework 🐱\n\n### ¿Why Nest?  \n\nNest natively supports the microservice architectural style of development. In Nest, a microservice is fundamentally an application that uses a different transport layer than HTTP. But this does not only stay here Nest supports several built-in **transport layer** implementations, called transporters, which are responsible for transmitting messages between different microservice instances.\n\n### Configuration ⚡️\n\n**1-Package Installation**\n\n```bash\nnpm i --save @nestjs/microservices\n```\n\n**2-Instantiate a Microservice**\n```ts\nimport { NestFactory } from '@nestjs/core';\nimport { Transport, MicroserviceOptions } from '@nestjs/microservices';\nimport { AppModule } from './app.module';\n\nasync function bootstrap() {\n  const app = await NestFactory.createMicroservice\u003cMicroserviceOptions\u003e(\n    AppModule,\n    {\n      transport: Transport.TCP,\n    },\n  );\n  app.listen();\n}\nbootstrap();\n```\n\n### Clean Architecture 🧼\n\n![Screenshot](https://miro.medium.com/max/1400/1*0u-ekVHFu7Om7Z-VTwFHvg.png)\nThis diagram is taken from the official article by Robert C. Martin.\n\nEach circle represents different areas of the software. The outermost layer is the lowest level of the software and as we move in deeper, the level will be higher. In general, as we move in deeper, the layer is less prone to change.\n\n## Folder Structure\n\n```bash\nttt-auth-microservice\n  |- node_modules\n  |- src\n     |- application\n        |- config\n            |- environment.ts\n        |- app.ts\n     |- domain\n        |- models\n        |- use-cases\n           |- impl\n     |- infrastructure\n        |- driven-adapters\n           |- adapters\n           |- providers\n        |- entry-points\n           |- api\n     |- index.ts\n  |- tests\n     |- domain\n     |- infrastructure\n  .env\n  package.json\n  READMED.md\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandro945%2Fttt-auth-microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejandro945%2Fttt-auth-microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandro945%2Fttt-auth-microservice/lists"}