{"id":17304078,"url":"https://github.com/owainlewis/employee-service","last_synced_at":"2025-07-31T12:30:49.770Z","repository":{"id":41016449,"uuid":"253090990","full_name":"owainlewis/employee-service","owner":"owainlewis","description":"Dropwizard example service using MySQL and JDBI","archived":false,"fork":false,"pushed_at":"2022-06-21T03:08:29.000Z","size":12,"stargazers_count":1,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T01:43:43.377Z","etag":null,"topics":["dropwizard","dropwizard-application"],"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/owainlewis.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}},"created_at":"2020-04-04T20:18:00.000Z","updated_at":"2023-09-08T18:05:28.000Z","dependencies_parsed_at":"2022-09-05T18:00:58.745Z","dependency_job_id":null,"html_url":"https://github.com/owainlewis/employee-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/owainlewis/employee-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainlewis%2Femployee-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainlewis%2Femployee-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainlewis%2Femployee-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainlewis%2Femployee-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owainlewis","download_url":"https://codeload.github.com/owainlewis/employee-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainlewis%2Femployee-service/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268039843,"owners_count":24185807,"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-07-31T02:00:08.723Z","response_time":66,"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":["dropwizard","dropwizard-application"],"created_at":"2024-10-15T11:52:07.964Z","updated_at":"2025-07-31T12:30:49.443Z","avatar_url":"https://github.com/owainlewis.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmployeeService\n\nA sample employee CRUD application using Dropwizard, MySQL and JBDI. Demonstrates using Dropwizard for\n\n- Database migrations\n- CRUD\n- Packaging with Docker\n- Healthchecking MySQL database\n- Metrics and monitoring\n- Logging\n- Authentication filters\n\n## Run the applicatoin\n\n1. Run `mvn clean install` to build your application\n1. Start application with `java -jar target/employee-service-1.0-SNAPSHOT.jar server config.yml`\n1. To check that your application is running enter url `http://localhost:8080`\n\n## Create the database\n\n```sql\nCREATE USER 'admin'@'localhost' IDENTIFIED BY 'password';\nCREATE DATABASE employees;\nGRANT ALL PRIVILEGES ON employees.* TO 'admin'@'localhost';\n```\n\n## Migrate the database\n\n```\njava -jar target/employee-service-1.0-SNAPSHOT.jar db migrate config.yml\n```\n\n## Healthcheck\n\nTo see your applications health enter url `http://localhost:8081/healthcheck`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowainlewis%2Femployee-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowainlewis%2Femployee-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowainlewis%2Femployee-service/lists"}