{"id":29177797,"url":"https://github.com/totvs/app-checkin-survey","last_synced_at":"2026-04-01T23:02:08.353Z","repository":{"id":84738461,"uuid":"190220199","full_name":"totvs/app-checkin-survey","owner":"totvs","description":"app-checkin-survey","archived":false,"fork":false,"pushed_at":"2019-06-12T20:13:27.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":12,"default_branch":"master","last_synced_at":"2026-03-28T00:58:06.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/totvs.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,"zenodo":null}},"created_at":"2019-06-04T14:40:18.000Z","updated_at":"2019-07-03T20:52:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"44d0a711-6c0a-44c7-8e82-1704158ec608","html_url":"https://github.com/totvs/app-checkin-survey","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/totvs/app-checkin-survey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totvs%2Fapp-checkin-survey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totvs%2Fapp-checkin-survey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totvs%2Fapp-checkin-survey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totvs%2Fapp-checkin-survey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/totvs","download_url":"https://codeload.github.com/totvs/app-checkin-survey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totvs%2Fapp-checkin-survey/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-07-01T18:08:05.981Z","updated_at":"2026-04-01T23:02:08.328Z","avatar_url":"https://github.com/totvs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TJF Checkin Survey :: Pesquisa de Satisfação\n\nFornece o serviço para envio das Pesquisas de satisfação.\n\n\n## Modo de uso\n\nIncluir a biblioteca como dependência no `pom.xml` da aplicação:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.totvs.tjf\u003c/groupId\u003e\n    \u003cartifactId\u003etjf-checkin-survey\u003c/artifactId\u003e\n    \u003cversion\u003e0.0.1-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\n## Configurações (application.yml)\n\nNo arquivo de configurações _src/main/resources/application.yml_ teremos configurado as informações do banco de dados (PostgreSQL):\n\n```\nspring:\n  datasource:\n    driver-class-name: org.postgresql.Driver\n    url: jdbc:postgresql://localhost:5432/checkin\n    username: checkin\n    password: checkin!123\n```\n    \nOBS: Deve ser alterado de acordo com o banco criado.\n\n## Subindo o Serviço\n\nPara subirmos o serviço, basta executar como Spring Boot App.\n\n#### Enviando para o Endpoint\n\nDe acordo com as configurações, o serviço será exposto na URL http://localhost:8180/api/v1/survey, sendo necessário enviar um POST, conforme exemplo a seguir:\n\n```\n{\n\t\"email\":\"exemplo@totvs.com.br\",\n\t\"code_event\":\"Palestra\",\n\t\"note\":5,\n\t\"description\":\"Sugestão/critica da palestra\"\n}\n```\n\n* Os campos _email_ e _code___event_ são do tipo texto (String) e são obrigatórios. \n* O campo _note_ deve conter um número inteiro entre 0 e 5 e não pode ser nulo.\n* Por ultimo, o campo _description_ também é do tipo texto (String) com no máximo 400 caracteres.\n\n#### Validações\n\nO serviço valida caso o mesmo Email já tenha informado uma nota em algum Evento, ou seja, o mesmo email não poderá responder a mesma pesquisa mais de uma vez.\n\n\n## Licença\n\nCopyright \u0026copy; 2018 by [TOTVS](https://www.totvs.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotvs%2Fapp-checkin-survey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftotvs%2Fapp-checkin-survey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotvs%2Fapp-checkin-survey/lists"}