{"id":20849635,"url":"https://github.com/augustoscher/biblioteca-api","last_synced_at":"2026-04-08T21:32:36.118Z","repository":{"id":100239802,"uuid":"184790926","full_name":"augustoscher/biblioteca-api","owner":"augustoscher","description":"Java multi-tenancy rest api for BibliotecaApp","archived":false,"fork":false,"pushed_at":"2019-05-04T19:38:15.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-26T05:45:42.468Z","etag":null,"topics":["docker-compose","heroku","jwt","maven","multi-tenancy","postgresql","spring-framework"],"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/augustoscher.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":"2019-05-03T16:56:07.000Z","updated_at":"2021-08-04T13:51:09.000Z","dependencies_parsed_at":"2023-05-13T02:45:22.647Z","dependency_job_id":null,"html_url":"https://github.com/augustoscher/biblioteca-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/augustoscher/biblioteca-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustoscher%2Fbiblioteca-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustoscher%2Fbiblioteca-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustoscher%2Fbiblioteca-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustoscher%2Fbiblioteca-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/augustoscher","download_url":"https://codeload.github.com/augustoscher/biblioteca-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustoscher%2Fbiblioteca-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31575591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["docker-compose","heroku","jwt","maven","multi-tenancy","postgresql","spring-framework"],"created_at":"2024-11-18T03:06:00.190Z","updated_at":"2026-04-08T21:32:36.101Z","avatar_url":"https://github.com/augustoscher.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Biblioteca-API #\n\n#### Java multi-tenancy rest api for BibliotecaApp ####\n\n* Rest-Api - Biblioteca\n* 0.1.0\n\n##### Pré-requisitos:  \n- Docker deve estar instalado.\n- Apache Maven deve estar instalado.\n- Postman deve estar instaldo. (para execução de testes)\n\n  \n### Setting Up \n----\n\n##### 1. Clonar repositório  \n\u003e git clone git@github.com:augustoscher/biblioteca-api.git\n\n##### 2. Acessar repositório\n\u003e cd biblioteca-api  \n\n##### 3. Imagem Docker\na) Gerar .jar\n\u003e mvn install\n\nb) Através do Maven\n\u003e mvn clean package dockerfile:build  \n\nou\nc) Através do Docker\n\u003e docker build -t augustoscher/biblioteca-api:0.0.1 .  \n\n##### 4. Iniciar aplicação  \n\u003e docker-compose up -d  \n\n##### 5. Testar database  \n\u003e docker-compose exec db psql -U postgres -f /scripts/check.sql  \n\nou  \n\u003e docker-compose exec db psql -U postgres biblioteca -c \"SELECT * FROM usuario;\"  \n\n##### 6. Testar API\n\u003e http://localhost:8282/v2/api-docs\n\n  \n### Configurações\n----\n\n##### 1. Fazer login\na) Através do Postman, criar uma nova requisição POST  \n\u003e localhost:8282/login  \n\nBody:\n\u003e```{\"login\": \"usera\", \"senha\": \"./augusto\"}```\n\nb) Guardar access token\n\u003e```{\"access_token\":\"Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ1c2VyYSIsImV4cCI6MTU1NzAyNjk2Nn0.5HtKQlsIhj1zdM0O1U0uLShLpQ6T7MNRQSrFcv73hDbQ1C4FM9tm_l9yHVoUMLqAWpSCHt7UCJ99hZgcInznRA\",\"tenant\":\"\"}```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustoscher%2Fbiblioteca-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugustoscher%2Fbiblioteca-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustoscher%2Fbiblioteca-api/lists"}