{"id":23072085,"url":"https://github.com/sanogotech/starterspringboot","last_synced_at":"2026-05-09T06:04:49.968Z","repository":{"id":199847933,"uuid":"703878420","full_name":"sanogotech/starterspringboot","owner":"sanogotech","description":"Starter Spring Boot","archived":false,"fork":false,"pushed_at":"2023-10-17T20:26:39.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-20T21:32:56.464Z","etag":null,"topics":["java","liquibase","rest-api","spring","spring-boot","thymeleaf","validation"],"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/sanogotech.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":"SECURITYSPRING.md","support":null,"governance":null}},"created_at":"2023-10-12T05:20:57.000Z","updated_at":"2023-10-17T14:48:13.000Z","dependencies_parsed_at":"2023-10-12T22:14:18.455Z","dependency_job_id":"80efaf34-d6d8-4802-85af-bab84ca631c6","html_url":"https://github.com/sanogotech/starterspringboot","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.05555555555555558,"last_synced_commit":"bf5fc93d586cac5f968ee0fa1d69d1e4a0635dce"},"previous_names":["sanogotech/starterspringboot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sanogotech/starterspringboot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fstarterspringboot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fstarterspringboot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fstarterspringboot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fstarterspringboot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanogotech","download_url":"https://codeload.github.com/sanogotech/starterspringboot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fstarterspringboot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32809149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["java","liquibase","rest-api","spring","spring-boot","thymeleaf","validation"],"created_at":"2024-12-16T07:18:52.516Z","updated_at":"2026-05-09T06:04:49.953Z","avatar_url":"https://github.com/sanogotech.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# starterspringboot\nStarter Spring Boot\n\n## Projet École avec Spring Boot, Thymeleaf, et H2 Database\n\nCe projet est une application Web simple créée avec Spring Boot, Thymeleaf, Bootstrap, et H2 Database. Il permet de gérer une liste d'étudiants.\n\n## Prérequis\n\n- Java JDK 11+\n- Apache Maven\n- Git (facultatif, pour cloner le projet)\n\n## Configuration de la Base de Données (Dev)\n\nDans le fichier `src/main/resources/application-dev.properties`, configurez la base de données H2 pour le profil de développement :\n\n```properties\nspring.datasource.url=jdbc:h2:mem:ecole_dev;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE\nspring.datasource.driverClassName=org.h2.Driver\nspring.datasource.username=sa\nspring.datasource.password=password\nspring.jpa.database-platform=org.hibernate.dialect.H2Dialect\n\n# Activation de la console H2\nspring.h2.console.enabled=true\nspring.h2.console.path=/h2-console\n\n# Activation des logs détaillés\nlogging.level.org.springframework.web=DEBUG\n```\n\n## Difference between @RequestParam vs @RequestBody\n\n* Get :  @RequestParam\n\n* Post + @Valid :  @RequestBody\n\nhttps://tedblob.com/requestbody-vs-requestparam/\n\n\n## Exécuter l'Application\nPour exécuter l'application, utilisez la commande Maven suivante :\n\n```bash\nmvn clean spring-boot:run\n```\n\nL'application sera accessible à l'adresse : http://localhost:8080\n\n**Profil de Production**\n\nPour exécuter l'application en mode de production, créez un fichier src/main/resources/application-prod.properties avec les configurations de base de données appropriées pour votre environnement de production.\n\nActivez le profil de production en modifiant le fichier src/main/resources/application.properties :\n\n```properties\nspring.profiles.active=prod\n```\n\n**Console H2**\n\nEn mode de développement, vous pouvez accéder à la console H2 à l'adresse : \n**http://localhost:8080/h2-console**. Les détails de connexion sont configurés dans application-dev.properties.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanogotech%2Fstarterspringboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanogotech%2Fstarterspringboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanogotech%2Fstarterspringboot/lists"}