{"id":21451975,"url":"https://github.com/gustavosilverio/my-mangas-api","last_synced_at":"2026-05-04T12:36:53.053Z","repository":{"id":253499724,"uuid":"843578468","full_name":"GustavoSilverio/my-mangas-api","owner":"GustavoSilverio","description":"This is the front-end project with python that serves the data collected from the database to the front-end, using the TypeScript and Python languages.","archived":false,"fork":false,"pushed_at":"2024-12-04T13:54:36.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T22:02:43.210Z","etag":null,"topics":["api","fastapi","mongodb","python"],"latest_commit_sha":null,"homepage":"https://mangas.gsilverio.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GustavoSilverio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-08-16T20:38:25.000Z","updated_at":"2024-12-04T13:54:39.000Z","dependencies_parsed_at":"2024-08-25T00:32:26.446Z","dependency_job_id":"16119522-e194-47b4-be7d-0e82c47269ac","html_url":"https://github.com/GustavoSilverio/my-mangas-api","commit_stats":null,"previous_names":["gustavosilverio/my-mangas-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GustavoSilverio/my-mangas-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GustavoSilverio%2Fmy-mangas-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GustavoSilverio%2Fmy-mangas-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GustavoSilverio%2Fmy-mangas-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GustavoSilverio%2Fmy-mangas-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GustavoSilverio","download_url":"https://codeload.github.com/GustavoSilverio/my-mangas-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GustavoSilverio%2Fmy-mangas-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32607949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"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":["api","fastapi","mongodb","python"],"created_at":"2024-11-23T04:26:59.087Z","updated_at":"2026-05-04T12:36:53.037Z","avatar_url":"https://github.com/GustavoSilverio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My-mangas 🥭\n\nEste é o projeto de front-end com python que serve os dados coletados do banco para o front-end, utilizando as linguagens **TypeScript** e **Python**.\n\n## 📂 Estrutura do Projeto\n\nEste repositório contém o código-fonte da api da aplicação. Para visualizar o projeto completo, incluindo front-end e API, veja as outras partes do sistema:\n\n- [**Front-end**](https://github.com/GustavoSilverio/my-mangas-front): Uma aplicação com uma interface simples que mostra o catálogo de mangás disponiveis na plataforma.\n- [**Automação/Web-Scraper**](https://github.com/GustavoSilverio/my-mangas-scraper): Um script em Python que coleta dados de mangás de uma plataforma online. Utiliza bibliotecas nativas de Python e multi-threading para maximizar a eficiência.\n\n## ⚖️ Aviso Legal\n\nEste projeto é apenas um exemplo técnico e **não deve ser usado para distribuir conteúdo protegido por direitos autorais** sem a devida autorização dos proprietários dos direitos. Nenhum conteúdo de mangás é incluído neste repositório.\n\n## 📄 Licença\n\nEste projeto está licenciado sob a [MIT License](LICENSE). Sinta-se à vontade para utilizar o código como base para seus próprios projetos, respeitando os termos da licença.\n\n## 🛠️ Como Rodar o Projeto (Obrigatório python instalado na maquina)\n\n1. Clone o repositório:\n   ```bash\n   git clone https://github.com/GustavoSilverio/my-mangas-api.git\n    ```\n2. Crie um ambiente virtual:\n    ```bash\n    python -m venv .venv\n    ```\n3. Ative o ambiente virtual\n    ```bash\n    .venv\\scripts\\activate\n    ```\n4. Instale as dependências:\n    ```bash\n    pip install -r requirements.txt\n    ```\n5. Crie um arquivo .env na raiz do projeto e as seguintes variáveis:\n    ```env\n    # connection string para o mongo\n    MONGO_BASE_URL='mongodb+srv://USER:SENHA@********.mongodb.net/'\n\n    # adicione a origem de onde vai receber as requisições, normalmente em http://localhost:3000 (onde o front está rodando)\n    ORIGIN='http://localhost:3000'\n\n    # essa seria a chave de acesso para a api, coloque o valor que desejar, essa key vai ser pedida no front para poder logar\n    ACCESS_KEY='mX8JbZ7c4vNp2Qw5LdRt6Fy9KsGhVqP3jCnTkYzB'\n\n    # esse secret seria uma chave especial para criar os tokens, pode adicionar o valor que desejar\n    TOKEN_SECRET='B9wR2vG6pMdJ4kVfHn7sTqXzL8CrYm3xQa5NtKjP'\n\n    # quantidade de horas que o token tem até expirar\n    TOKEN_EXPIRATION_HOURS=5\n    ```\n6. Rode o projeto:\n    ```bash\n    python main.py\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustavosilverio%2Fmy-mangas-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgustavosilverio%2Fmy-mangas-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustavosilverio%2Fmy-mangas-api/lists"}