{"id":15069074,"url":"https://github.com/zevolution/netflix-hexagonal-architecture","last_synced_at":"2025-04-10T17:41:24.005Z","repository":{"id":96817969,"uuid":"442854192","full_name":"zevolution/netflix-hexagonal-architecture","owner":"zevolution","description":"This project was created as a simple example to show how we can implement the hexagonal architecture(software design) proposed by Netflix.","archived":false,"fork":false,"pushed_at":"2022-01-05T14:32:22.000Z","size":57,"stargazers_count":27,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T15:21:42.455Z","etag":null,"topics":["architectural-patterns","bff","bff-microservice","contract-first","design-system","hexagonal-architecture","java","java-11","netflix","spring","spring-boot","system-design"],"latest_commit_sha":null,"homepage":"","language":"Java","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/zevolution.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}},"created_at":"2021-12-29T18:12:18.000Z","updated_at":"2025-03-04T00:25:06.000Z","dependencies_parsed_at":"2024-02-22T07:45:58.788Z","dependency_job_id":null,"html_url":"https://github.com/zevolution/netflix-hexagonal-architecture","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/zevolution%2Fnetflix-hexagonal-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevolution%2Fnetflix-hexagonal-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevolution%2Fnetflix-hexagonal-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevolution%2Fnetflix-hexagonal-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zevolution","download_url":"https://codeload.github.com/zevolution/netflix-hexagonal-architecture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262185,"owners_count":21074258,"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":["architectural-patterns","bff","bff-microservice","contract-first","design-system","hexagonal-architecture","java","java-11","netflix","spring","spring-boot","system-design"],"created_at":"2024-09-25T01:40:20.095Z","updated_at":"2025-04-10T17:41:23.982Z","avatar_url":"https://github.com/zevolution.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/36534847/147706401-2d3d1b89-1a72-4408-9660-e0da649196ea.png\" alt=\"FlixHexaArch-Logo\" width=\"700\"\u003e\n\u003ch1 align=\"center\"\u003eNetflix Hexagonal Architecture\u003c/h1\u003e\n\n## Table of contents\n- [About the project](#about-the-project)\n- [Description](#description)\n- [Built with](#built-with)\n- [Installation](#installation)\n- [Requirements to run](#requirements-to-run)\n- [Usage information](#usage-information)\n- [Run](#run)\n- [License](#license)\n\n## About the project\nThis project was created as a simple example to show how we can implement the hexagonal architecture(software design) proposed by Netflix in [this article](https://netflixtechblog.com/ready-for-changes-with-hexagonal-architecture-b315ec967749).\n\n## Description\nThis project has business logic to get the software by author and software name inside a company, for this, it searches in the company's main git provider, which is Github. At some point, the company decides to change its git provider from Github to Gitlab; thus, changing the application's data source.\n\u003cbr\u003e\n\u003cbr\u003e\n*To change datasource from Github to Gitlab switch @Primmary annotation between them and restart application*\n\n## Built with\n* [Java 11](https://openjdk.java.net/projects/jdk/11/)\n* [Maven](https://maven.apache.org/)\n* [Spring-Boot 2.5.0](https://docs.spring.io/spring-boot/docs/2.2.2.RELEASE/reference/htmlsingle/)\n* [SpringFox 3](https://github.com/springfox/springfox/releases/tag/3.0.0)\n* [MapStruct](https://mapstruct.org/documentation/stable/reference/html/)\n* [OpenFeign](https://spring.io/projects/spring-cloud-openfeign)\n* [JUnit 5](https://junit.org/junit5/docs/current/user-guide/)\n* [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator)\n* [WireMock](http://wiremock.org/)\n\n## Installation\n\nTo clone and run this application, you'll need Git installed on your computer(or no, if you want to download **.zip**). From your command line:\n```bash\n# Git CLI\ngit clone https://github.com/zevolution/netflix-hexagonal-architecture.git\n\n# Github CLI\ngh repo clone zevolution/netflix-hexagonal-architecture\n```\n\n## Requirements to run\n* If you use Windows OS, is strongly recommended that you use Git Bash to perform all operations.\n* [Docker Engine](https://www.docker.com/get-started)\n* [Docker Compose](https://docs.docker.com/compose/install/)\n* OpenJDK 11 (if you don't use docker)\n\n## Usage information\n1. After open project in your IDE, run `mvn clean generate-resources` to generate stub OpenAPI structure with `OpenAPI Generator` in target folder.\n2. Default api-port is `8180`\n3. Default debug-port is `5105`\n4. Default actuator-port is `9190`\n5. Default context-path `/service--softwares-info`\n6. Swagger URI `/service--softwares-info/swagger-ui/`\n7. Actuator URI `/actuator`\n\n## Run\nYou can execute `startup.sh`, before grant execution permissions with `chmod +x startup.sh`. If you can't run `startup.sh`, follow these steps:\n1. Open your terminal in the project folder\n2. Run `docker-compose up`\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzevolution%2Fnetflix-hexagonal-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzevolution%2Fnetflix-hexagonal-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzevolution%2Fnetflix-hexagonal-architecture/lists"}