{"id":20038515,"url":"https://github.com/yahoo/elide-spring-boot-example","last_synced_at":"2025-10-24T11:30:06.187Z","repository":{"id":36598860,"uuid":"228882600","full_name":"yahoo/elide-spring-boot-example","owner":"yahoo","description":"Spring Boot example using the Elide framework.","archived":false,"fork":false,"pushed_at":"2024-07-28T20:59:24.000Z","size":693,"stargazers_count":17,"open_issues_count":4,"forks_count":27,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-08T18:51:36.930Z","etag":null,"topics":["elide","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://elide.io","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yahoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"Code-Of-Conduct.md","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":"2019-12-18T16:44:55.000Z","updated_at":"2024-07-28T20:59:28.000Z","dependencies_parsed_at":"2023-01-17T02:59:05.141Z","dependency_job_id":"0aaa844a-693d-4092-8f09-929d5bc6cf8c","html_url":"https://github.com/yahoo/elide-spring-boot-example","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/yahoo%2Felide-spring-boot-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yahoo%2Felide-spring-boot-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yahoo%2Felide-spring-boot-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yahoo%2Felide-spring-boot-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yahoo","download_url":"https://codeload.github.com/yahoo/elide-spring-boot-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252451791,"owners_count":21749985,"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":["elide","hacktoberfest"],"created_at":"2024-11-13T10:29:44.018Z","updated_at":"2025-10-24T11:30:01.165Z","avatar_url":"https://github.com/yahoo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elide Spring Boot Example\n\nAn archetype Elide project using Spring Boot.\n\n[![Build Status](https://cd.screwdriver.cd/pipelines/7924/badge)](https://cd.screwdriver.cd/pipelines/7924)\n\n## Background\n\nThis project is the sample code for [Elide's Getting Started documentation](https://elide.io/pages/guide/v7/01-start.html).\n\n## Install\n\nTo build and run:\n\n1. mvn clean install\n2. java -jar target/elide-spring-boot-1.0.0.jar\n3. Browse http://localhost:8080/\n\nFor API Versioning\n1. Browse http://localhost:8080/?path=/v1\n2. Browse http://localhost:8080/?path=/v2\n\nSpringdoc is accessible at http://localhost:8080/swagger-ui/index.html.\n\n## Docker and Containerize\n\nTo containerize and run elide project locally\n\n1. Build Docker Image from Root of the project \n   ```\n   docker build -t elide/elide-spring-boot-example .\n   ```\n2. Run docker container locally\n   ```\n   docker run -p 8081:8080 -d elide/elide-spring-boot-example\n   ```\n3. Application should be running in \n   ```\n   http://localhost:8081/\n   ```\n   \n3. Check Docker containers running\n   ```\n   docker ps\n   CONTAINER ID   IMAGE                             COMMAND                  CREATED         STATUS         PORTS                     NAMES\n   99998a35d377   elide/elide-spring-boot-example   \"java -cp app:app/li…\"   6 seconds ago   Up 5 seconds   0.0.0.0:8089-\u003e8080/tcp    upbeat_lehmann\n   ```\n4. Check logs of the container\n   ```\n   docker logs -f 99998a35d377 \n   ```\n\n5. If you want to ssh to your docker container for more troubleshooting\n   ```\n    docker exec -it 99998a35d377 /bin/sh\n   ```\n# Run from cloud (AWS)\n\n\n1. ECR \n   1. Create a repository in Elastic Container Registry with name elide-spring-boot-example\n   2. aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin xxx.dkr.ecr.us-east-1.amazonaws.com \n   3. docker tag elide-spring-boot-example:latest xxx.dkr.ecr.us-east-1.amazonaws.com/elide-spring-boot-example:latest\n   4. docker push xxx.dkr.ecr.us-east-1.amazonaws.com/elide-spring-boot-example\n2. Fargate\n   1. With the image on AWS ECR, you can now define your deployment on AWS ECS/Fargate.\n   2. Make sure to mention ECR details\n   3. Port mapping is needed in the task definition. If you open the json definition of the task, you can edit to add this.\n   \"portMappings\": [\n         {\n         \"hostPort\": 8080,\n         \"protocol\": \"tcp\",\n         \"containerPort\": 8080\n         }\n      ],\n    4. The security group created or used for the task , needs to have inbound rule for TCP custom port 8080 , CIDR block 0.0.0.0/0(open to everyone, or you can add your company's CIDR block if its an internal service)\n    \n## Usage\n\nSee [Elide's Getting Started documentation](https://elide.io/pages/guide/v7/01-start.html).\n\n## Contribute\nPlease refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file for information about how to get involved. We welcome issues, questions, and pull requests.\n\n## License\nThis project is licensed under the terms of the [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) open source license.\nPlease refer to [LICENSE](LICENSE.txt) for the full terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyahoo%2Felide-spring-boot-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyahoo%2Felide-spring-boot-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyahoo%2Felide-spring-boot-example/lists"}