{"id":24758589,"url":"https://github.com/andreeadraghici/spring-quickstart","last_synced_at":"2026-04-12T17:03:00.070Z","repository":{"id":273021693,"uuid":"918473754","full_name":"AndreeaDraghici/Spring-QuickStart","owner":"AndreeaDraghici","description":"SpringBoot with Docker container Demo","archived":false,"fork":false,"pushed_at":"2025-01-18T12:42:29.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T16:39:26.371Z","etag":null,"topics":["demo","docker","docker-compose","docker-image","maven","spring-boot","web"],"latest_commit_sha":null,"homepage":"","language":"Java","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/AndreeaDraghici.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":"2025-01-18T02:55:14.000Z","updated_at":"2025-01-18T12:42:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"009db943-8e4c-4a26-968b-c0ad49c4adba","html_url":"https://github.com/AndreeaDraghici/Spring-QuickStart","commit_stats":null,"previous_names":["andreeadraghici/spring-quickstart"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeaDraghici%2FSpring-QuickStart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeaDraghici%2FSpring-QuickStart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeaDraghici%2FSpring-QuickStart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeaDraghici%2FSpring-QuickStart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreeaDraghici","download_url":"https://codeload.github.com/AndreeaDraghici/Spring-QuickStart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245084613,"owners_count":20558251,"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":["demo","docker","docker-compose","docker-image","maven","spring-boot","web"],"created_at":"2025-01-28T16:35:55.340Z","updated_at":"2026-04-12T17:02:59.979Z","avatar_url":"https://github.com/AndreeaDraghici.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting Started\n\n## Reference Documentation\n\nFor further reference, please consider the following sections:\n\n- [Official Apache Maven Documentation](https://maven.apache.org/guides/index.html)\n- [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/3.4.1/maven-plugin)\n- [Create an OCI Image](https://docs.spring.io/spring-boot/3.4.1/maven-plugin/build-image.html)\n\n---\n\n## Build and Run the Application\n\n### Using Maven\n\n1. **Build the Application:**\n   ```bash\n   mvn clean package\n\n2. **Run the Application:**\n\n`java -jar target/demo-0.0.1-SNAPSHOT.jar`\n\n3. **Access the Application: Open your browser and navigate to:**\n\n   http://localhost:8081\n\n---\n\n## Docker Container Overview\n\n### Build and Run with Docker Compose\n\n1. **Build the Docker Image:**\n\n`docker-compose up --build`\n\n2. **Stop and Remove the Containers:**\n\n`docker-compose down`\n\n---\n\n## Manual Docker Commands\n\n### If you prefer running Docker commands manually:\n\n1. **Build the Docker Image:**\n\n   ` docker build -t demo-image:latest .`\n\n\n2. **Run the Docker Container:**\n\n   `docker run -p 8081:8081 --name demo demo-image:latest`\n\n\n3. **Stop and Remove the Container:**\n\n   `docker stop demo`\n\n   `docker rm demo`\n\n---\n\n### Notes\n\n* Ensure you have Java 17+, Maven, and Docker installed on your system.\n* If port 8081 is already in use, update the docker-compose.yml or Dockerfile to use a different port.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreeadraghici%2Fspring-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreeadraghici%2Fspring-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreeadraghici%2Fspring-quickstart/lists"}