{"id":27100591,"url":"https://github.com/juan27k/springboot-postgresql-docker","last_synced_at":"2026-04-29T22:36:51.719Z","repository":{"id":286288192,"uuid":"960604695","full_name":"juan27k/springboot-postgresql-docker","owner":"juan27k","description":"Proyecto de ejemplo para conectar Spring Boot con PostgreSQL usando Docker y pgAdmin. Incluye integración con JPA (Hibernate) y consulta con LIKE en repositorios.","archived":false,"fork":false,"pushed_at":"2025-04-05T20:45:02.000Z","size":87,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T00:30:05.038Z","etag":null,"topics":["backend","docker","hibernate","java","jpa","postgresql","rest-api","spring-boot"],"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/juan27k.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-04-04T18:12:52.000Z","updated_at":"2025-04-05T20:45:05.000Z","dependencies_parsed_at":"2025-04-09T20:58:23.782Z","dependency_job_id":null,"html_url":"https://github.com/juan27k/springboot-postgresql-docker","commit_stats":null,"previous_names":["juan27k/springboot-postgresql-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/juan27k/springboot-postgresql-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juan27k%2Fspringboot-postgresql-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juan27k%2Fspringboot-postgresql-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juan27k%2Fspringboot-postgresql-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juan27k%2Fspringboot-postgresql-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juan27k","download_url":"https://codeload.github.com/juan27k/springboot-postgresql-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juan27k%2Fspringboot-postgresql-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274580392,"owners_count":25311160,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["backend","docker","hibernate","java","jpa","postgresql","rest-api","spring-boot"],"created_at":"2025-04-06T13:20:00.928Z","updated_at":"2026-04-29T22:36:46.693Z","avatar_url":"https://github.com/juan27k.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot + PostgreSQL + Docker 🐘🚀\n\nEste proyecto es una API REST de ejemplo desarrollada con Spring Boot que se conecta a una base de datos PostgreSQL. Toda la infraestructura de base de datos puede levantarse con Docker para facilitar pruebas y despliegues.\n\n📦 Tecnologías utilizadas\nJava 17\nSpring Boot 3\nSpring Data JPA + Hibernate\nPostgreSQL\nDocker\nMaven\n\n1️⃣ Levantar PostgreSQL con Docker\nbash\nCopiar\nEditar\ndocker run --name mypostgres2 -p 5432:5432 \\\n-e POSTGRES_PASSWORD=1234 \\\n-e POSTGRES_DB=tienda \\\n-d postgres\nTambién podés usar docker-compose.yml si lo agregás al proyecto.\n\n2️⃣ Ejecutar el proyecto Spring Boot\nImportá el proyecto en tu IDE favorito (Eclipse, IntelliJ, VS Code) y ejecutá la clase principal Core2Application.java.\nAsegurate de tener configurado tu archivo application.properties:\nproductos.estrategia=EN_BD\nspring.datasource.url=jdbc:postgresql://localhost:5432/tienda\nspring.datasource.username=postgres\nspring.datasource.password=1234\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect\n\n🌐 Endpoints disponibles\nMétodo\tEndpoint\tDescripción\nGET\t/productos\tLista todos los productos\nPOST\t/productos\tCrea un nuevo producto\nPUT\t/productos/{id}\tActualiza un producto existente\nDELETE\t/productos/{id}\tElimina un producto\n\n🐘 Acceder a PostgreSQL vía GUI\nSi deseás administrar la base gráficamente, podés usar PgAdmin o DBeaver:\nHost: localhost\nPuerto: 5432\nUsuario: postgres\nContraseña: 1234\nBase de datos: tienda\n\n📂 Estructura\nbash\nCopiar\nEditar\ncore2/\n├── src/\n│   └── main/\n│       ├── java/com/ejemplo/core2/...\n│       └── resources/\n│           ├── application.properties\n│           └── ...\n├── pom.xml\n└── README.md\n\n🧑 Autor\nJuan Manuel Cichello\nLinkedIn\n\n## 👨‍🏫 ¿Querés aprender Spring Boot desde cero y construir microservicios profesionales?\n\nDespués de varios años de experiencia como desarrollador y formador, armé un curso completo donde te enseño paso a paso a crear una arquitectura de backend sólida con Java y Spring Boot.\n\n🔹 Conexión a base de datos con PostgreSQL  \n🔹 Uso de Docker  \n🔹 API REST con JPA y Hibernate  \n🔹 Proyecto real desde cero  \n🔹 Buenas prácticas y explicaciones claras  \n🔹 Acceso de por vida y soporte directo\n\n👉 **Accedé al curso completo en Hotmart:**  \n[Spring Boot - Microservicios y Arquitectura de Back-End (Curso en Hotmart)](https://hotmart.com/es/marketplace/productos/spring-boot-microservicios-arquitectura-de-back-end/V89528817U)\n\n\n📄 Licencia\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuan27k%2Fspringboot-postgresql-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuan27k%2Fspringboot-postgresql-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuan27k%2Fspringboot-postgresql-docker/lists"}