{"id":19542081,"url":"https://github.com/zayniddindev/clean-architecture","last_synced_at":"2025-02-26T05:20:02.345Z","repository":{"id":180404520,"uuid":"664983917","full_name":"zayniddindev/clean-architecture","owner":"zayniddindev","description":"Clean architecture with Node.js and Express.js","archived":false,"fork":false,"pushed_at":"2023-07-11T12:06:08.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T18:49:26.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zayniddindev.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":"2023-07-11T07:23:45.000Z","updated_at":"2023-07-11T07:29:20.000Z","dependencies_parsed_at":"2023-07-11T22:01:47.215Z","dependency_job_id":null,"html_url":"https://github.com/zayniddindev/clean-architecture","commit_stats":null,"previous_names":["zayniddindev/clean-architecture"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zayniddindev%2Fclean-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zayniddindev%2Fclean-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zayniddindev%2Fclean-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zayniddindev%2Fclean-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zayniddindev","download_url":"https://codeload.github.com/zayniddindev/clean-architecture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240795633,"owners_count":19858860,"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-11T03:13:06.927Z","updated_at":"2025-02-26T05:20:02.329Z","avatar_url":"https://github.com/zayniddindev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eClean architecture with Node.js and Express.js\u003c/h1\u003e\n\n\u003ch3\u003eInspiration\u003c/h3\u003e\n\n\u003cp\u003eThis project's main purpose is to show how to seperate the layers of backend in order to develop a clean architecture. The project is still in WIP and if you have some ideas to make it cool, you are welcome to \u003ca href='https://github.com/zayniddindev/clean-architecture/fork'\u003efork\u003c/a\u003e and  \u003ca href='https://github.com/zayniddindev/clean-architecture/pulls'\u003eopen\u003c/a\u003e a new PR!\u003c/p\u003e\n\n\u003ch3\u003eStructure\u003c/h3\u003e\n\n```lua\nsrc ---- |\n        common --- |\n                 ds.js - Common Data Source (MySQL, MongoDB)\n                 event.js - Event Emitter used throughout the project\n                 model.js - Base model class\n\n        config --- |\n                 index.js - Env variables\n\n        user   --- |\n                 application - Handlers (business logic goes here);\n                 domain - Domain entities (models, exceptions, types, events);\n                 infra - Infrastructure (presentation, persistence)\n```\n\n\u003ch3\u003eHow to run?\u003c/h3\u003e\n\n```bash\n$ yarn install\n```\n\n```bash\n$ yarn start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzayniddindev%2Fclean-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzayniddindev%2Fclean-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzayniddindev%2Fclean-architecture/lists"}