{"id":21581864,"url":"https://github.com/devbauti/ts-clean-architecture","last_synced_at":"2025-03-18T08:20:25.489Z","repository":{"id":228128118,"uuid":"514428807","full_name":"DevBauti/TS-clean-architecture","owner":"DevBauti","description":"TS Clean Architecture Crud","archived":false,"fork":false,"pushed_at":"2022-07-16T00:11:24.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T14:46:28.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DevBauti.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}},"created_at":"2022-07-15T23:20:48.000Z","updated_at":"2022-08-27T17:36:39.000Z","dependencies_parsed_at":"2024-03-17T07:57:55.737Z","dependency_job_id":"6ac49b94-8581-4300-af28-b401c0d48d15","html_url":"https://github.com/DevBauti/TS-clean-architecture","commit_stats":null,"previous_names":["devbauti/ts-clean-architecture"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevBauti%2FTS-clean-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevBauti%2FTS-clean-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevBauti%2FTS-clean-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevBauti%2FTS-clean-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevBauti","download_url":"https://codeload.github.com/DevBauti/TS-clean-architecture/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244181312,"owners_count":20411605,"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":[],"created_at":"2024-11-24T14:13:53.349Z","updated_at":"2025-03-18T08:20:25.459Z","avatar_url":"https://github.com/DevBauti.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crud typescript - Clean Architecture\n\nClean architecture practice in Typescript. It implements memory saving and console access, in addition to an api built with Express with storage in DynamoDB (aws).\n\n# Folder structure \n\n### src\n#### domain\n    |-entities\n            user.ts\n    |-exceptions\n            exception.ts\n            userAlreadyExistsException.ts\n            UserNotFoundExcetion.ts\n    |-repositories\n            UserRepository.ts\n    |-services\n            ExistUserByUserName.ts\n            UserGetterById.ts\n#### application\n    |-usecase\n            userCreator.ts\n            userDeleter.ts\n            userGetter.ts\n            userUpdater.ts\n#### infraestructure\n    |-driven-adapter\n            aws.ts\n            dynamoDB.ts\n    |-driving-adapters\n        |-api-rest\n            |-controllers\n                |-user\n                        createUserController.ts\n                        deleteUserController.ts\n                        getAllUserController.ts\n                        updateUserController.ts\n                controllers.ts\n            |-routes\n                    routes.ts\n                    user-routes.ts\n            dataBackendApp.ts\n            server.ts\n            start.ts\n        |-console\n                console.ts\n    |-implementations\n        |-aws\n            |-dynamo-db\n                    DynamoDBUserRepository.ts\n        |-inMemory\n                inMemoryUserRepository.ts\n\n\n###### A bit long i know","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbauti%2Fts-clean-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevbauti%2Fts-clean-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbauti%2Fts-clean-architecture/lists"}