{"id":24064523,"url":"https://github.com/dfm18/platzi-messages-app","last_synced_at":"2026-04-17T06:33:56.584Z","repository":{"id":263600848,"uuid":"828611968","full_name":"dfm18/platzi-messages-app","owner":"dfm18","description":"Interfaz de terminal para administrar mensajes, desarrollado como proyecto del Curso Java SE Persistencia de Datos de Platzi.","archived":false,"fork":false,"pushed_at":"2024-07-14T17:04:49.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T18:14:26.715Z","etag":null,"topics":["hibernate-orm","hibernate-validator","java","jpa","jpa-hibernate","maven"],"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/dfm18.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":"2024-07-14T17:04:29.000Z","updated_at":"2024-07-24T21:37:46.000Z","dependencies_parsed_at":"2024-11-19T12:59:39.254Z","dependency_job_id":"cbadd819-3f7c-4549-b7e3-4def390e1626","html_url":"https://github.com/dfm18/platzi-messages-app","commit_stats":null,"previous_names":["dafexdev/platzi-messages-app","dfm18/platzi-messages-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dfm18/platzi-messages-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfm18%2Fplatzi-messages-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfm18%2Fplatzi-messages-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfm18%2Fplatzi-messages-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfm18%2Fplatzi-messages-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfm18","download_url":"https://codeload.github.com/dfm18/platzi-messages-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfm18%2Fplatzi-messages-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268330913,"owners_count":24233151,"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-08-02T02:00:12.353Z","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":["hibernate-orm","hibernate-validator","java","jpa","jpa-hibernate","maven"],"created_at":"2025-01-09T10:37:25.116Z","updated_at":"2026-04-17T06:33:51.552Z","avatar_url":"https://github.com/dfm18.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Messages App\n\n[![](https://img.shields.io/badge/OpenJDK-ED8B00?style=for-the-badge\u0026logo=openjdk\u0026logoColor=white)](https://openjdk.org/)\n[![](https://img.shields.io/badge/apache_maven-C71A36?style=for-the-badge\u0026logo=apachemaven\u0026logoColor=white)](https://maven.apache.org/)\n[![](https://img.shields.io/badge/MySQL-005C84?style=for-the-badge\u0026logo=mysql\u0026logoColor=white)](https://www.mysql.com/)\n\nInterfaz de terminal para administrar mensajes, desarrollado como proyecto del [Curso Java SE Persistencia de Datos de Platzi](https://platzi.com/cursos/java-persistencia/).\n\n![](./assets/screenshot.png)\n\n## Requisitos\n\n- Java 21 o superior\n- Apache Maven 3.6 o superior\n- MySQL 8.0 o superior\n\n## Configuración\n\n### Base de Datos\n\n1. Instalar MySQL y crear una base de datos para el proyecto:\n    ```sql\n    CREATE DATABASE messages_app;\n    ```\n\n2. Crear una tabla para almacenar los mensajes:\n    ```sql\n    USE messages_app;\n\n    CREATE TABLE messages (\n        id BIGINT AUTO_INCREMENT PRIMARY KEY,\n        message VARCHAR(280) NOT NULL,\n        message_author VARCHAR(50) NOT NULL,\n        message_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP\n    );\n    ```\n\n3. Configurar el archivo `src/main/resources/META-INF/persistence.xml` con tus credenciales de MySQL:\n    ```xml\n   \u003c?xml version=\"1.0\" encoding=\"UTF-8\" ?\u003e\n    \u003cpersistence xmlns=\"http://java.sun.com/xml/ns/persistence\" version=\"2.0\"\u003e\n        \u003cpersistence-unit name=\"messagesAppPersistenceUnit\" transaction-type=\"RESOURCE_LOCAL\"\u003e\n            \u003cprovider\u003eorg.hibernate.jpa.HibernatePersistenceProvider\u003c/provider\u003e\n\n            \u003cclass\u003ecom.dfortch.messagesapp.persistence.entity.Message\u003c/class\u003e\n        \n            \u003cproperties\u003e\n                \u003cproperty name=\"jakarta.persistence.jdbc.url\" value=\"jdbc:mysql://localhost:3306/messages_app\"/\u003e\n                \u003cproperty name=\"jakarta.persistence.jdbc.user\" value=\"mysql_user\"/\u003e\n                \u003cproperty name=\"jakarta.persistence.jdbc.password\" value=\"mysql_password\"/\u003e\n                \u003cproperty name=\"jakarta.persistence.jdbc.driver\" value=\"com.mysql.jdbc.Driver\"/\u003e\n                \u003cproperty name=\"jakarta.persistence.schema-generation.database.action\" value=\"update\"/\u003e\n            \u003c/properties\u003e\n        \u003c/persistence-unit\u003e\n    \u003c/persistence\u003e\n    ```\n\n## Reconocimientos\n\n- [ASCII Table](https://github.com/vdmeer/asciitable): Modulo para crear tablas ASCII\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfm18%2Fplatzi-messages-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfm18%2Fplatzi-messages-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfm18%2Fplatzi-messages-app/lists"}