{"id":23219326,"url":"https://github.com/markelca/hui-api","last_synced_at":"2026-04-30T07:34:51.271Z","repository":{"id":137365823,"uuid":"463172255","full_name":"MarkelCA/hui-api","owner":"MarkelCA","description":"Backend API using Spring Boot + Hibernate for the HUI social events management proyect.","archived":false,"fork":false,"pushed_at":"2022-06-09T14:51:45.000Z","size":205,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-11T11:52:24.041Z","etag":null,"topics":["java-backend","jpa-hibernate","openapi3","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/MarkelCA.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":"2022-02-24T14:08:30.000Z","updated_at":"2024-04-28T20:51:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef8f5923-1166-4bfa-9089-7ae994ffa1a4","html_url":"https://github.com/MarkelCA/hui-api","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/MarkelCA%2Fhui-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkelCA%2Fhui-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkelCA%2Fhui-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkelCA%2Fhui-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarkelCA","download_url":"https://codeload.github.com/MarkelCA/hui-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353747,"owners_count":20925329,"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":["java-backend","jpa-hibernate","openapi3","rest-api","spring-boot"],"created_at":"2024-12-18T21:31:35.065Z","updated_at":"2026-04-30T07:34:51.232Z","avatar_url":"https://github.com/MarkelCA.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hui-api\nThis is the server side REST API made for the HUI Proyect. Built with Spring Boot and Hibernate.\n\n\n### Stack of technologies used:\n\n![Java](https://img.shields.io/badge/java-red.svg?style=for-the-badge\u0026logo=java\u0026logoColor=white)\n![Spring](https://img.shields.io/badge/spring-%236DB33F.svg?style=for-the-badge\u0026logo=spring\u0026logoColor=white)\n![Hibernate](https://img.shields.io/badge/hibernate-brown.svg?style=for-the-badge\u0026logo=hibernate\u0026logoColor=white)\n![Postman](https://img.shields.io/badge/postman-orange.svg?style=for-the-badge\u0026logo=postman\u0026logoColor=white)\n![Jira](https://img.shields.io/badge/jira-blue.svg?style=for-the-badge\u0026logo=jira\u0026logoColor=white)\n![Confluence](https://img.shields.io/badge/confluence-grey.svg?style=for-the-badge\u0026logo=confluence\u0026logoColor=white)\n![PHPmyadmin](https://img.shields.io/badge/PHPmyadmin-FF00FF.svg?style=for-the-badge\u0026logo=phpmyadmin\u0026logoColor=white)\n\n\nPostman API Reference: https://www.postman.com/hui-app\n\n---\n\n## Development Instalation\n1. Copy the file `application.properties.sample` in the same folder *(app/src/main/resources)* and name it `application.properties`\n\n2. Change the following values for your enviroment ones.\n- server.port\n-  spring.datasource.url\n-  spring.datasource.username\n-  spring.datasource.password\n```properties\nserver.port=\u003cport\u003e\nspring.jpa.show-sql=true\nspring.jpa.properties.hibernate.format_sql=true\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\nspring.datasource.url=jdbc:mysql://localhost:3306/\u003cdatabase\u003e?createDatabaseIfNotExist=true\u0026useSSL=false\nspring.datasource.username=\u003cuser\u003e\nspring.datasource.password=\u003cpassword\u003e\nserver.error.include-message=always\nspring.jpa.hibernate.ddl-auto=create-drop\nspring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect\nspring.jackson.serialization.FAIL_ON_EMPTY_BEANS=false\n\n```\n3. Run the application with the property `spring.jpa.hibernate.ddl-auto=create-drop` to create and populate the database, then change the value to `update` if you dont want to create the database each time it runs.\n4. Also comment this three lines in the file `app/src/main/java/com/grupo5/huiapi/config/DBConfig.java` so it doesn't cause a conflict inserting the initial data.\n```java\n @Bean\n    CommandLineRunner commandLineRunner() {\n        return args -\u003e {\n            //categoryRepository.saveAll( getInitialCategories() );\n            //userRepository.saveAll( getInitialUsers() );\n            //eventRepository.saveAll( getInitialEvents() );\n        };\n    }\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkelca%2Fhui-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkelca%2Fhui-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkelca%2Fhui-api/lists"}