{"id":30196274,"url":"https://github.com/felixmk0/egranjacat","last_synced_at":"2025-08-13T05:17:42.687Z","repository":{"id":307544535,"uuid":"1029893875","full_name":"felixmk0/eGranjaCAT","owner":"felixmk0","description":"RESTful API built with .NET 8 and C#, following clean architecture and using SQL Server with a single-tenant-per-database model. Includes JWT authentication, role- and policy-based access control, Swagger docs, cron jobs, SMTP support, third-party service integrations, and more.","archived":false,"fork":false,"pushed_at":"2025-08-08T15:29:46.000Z","size":629,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-08T16:09:38.409Z","etag":null,"topics":["aspnet","authorization","cron-jobs","csharp","dotnet","generalitat","generalitat-de-catalunya","jwt","jwt-authentication","mapa","presvet","rest-api","restful-api","smtp","sql","sql-server","swagger","third-party"],"latest_commit_sha":null,"homepage":"","language":"C#","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/felixmk0.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":"2025-07-31T18:39:44.000Z","updated_at":"2025-08-08T15:29:49.000Z","dependencies_parsed_at":"2025-07-31T22:11:50.969Z","dependency_job_id":null,"html_url":"https://github.com/felixmk0/eGranjaCAT","commit_stats":null,"previous_names":["felixmk0/egranjacat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/felixmk0/eGranjaCAT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixmk0%2FeGranjaCAT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixmk0%2FeGranjaCAT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixmk0%2FeGranjaCAT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixmk0%2FeGranjaCAT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felixmk0","download_url":"https://codeload.github.com/felixmk0/eGranjaCAT/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixmk0%2FeGranjaCAT/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270183606,"owners_count":24541341,"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-08-13T02:00:09.904Z","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":["aspnet","authorization","cron-jobs","csharp","dotnet","generalitat","generalitat-de-catalunya","jwt","jwt-authentication","mapa","presvet","rest-api","restful-api","smtp","sql","sql-server","swagger","third-party"],"created_at":"2025-08-13T05:17:29.990Z","updated_at":"2025-08-13T05:17:42.664Z","avatar_url":"https://github.com/felixmk0.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# eGranjaCAT\r\n## About\r\n\r\nThe eGranjaCAT API is developed with .NET 8 and C#, providing an integrated solution to modernize pig farm management in Catalonia. It uses a single-tenant-per-database architecture to ensure data isolation and client-specific customization. \r\n\r\nThis RESTful API integrates official systems such as Gestió Telemàtica Ramadera (GTR), Spain’s Ministerio de Agricultura, Pesca y Alimentación (MAPA), the PresVet antibiotic prescription surveillance system, and offers native support for generating and digitally signing veterinary electronic prescriptions without relying on third-party software (some features still in progress). \r\nAdditional capabilities include secure JWT authentication with role- and policy-based access control, scheduled background jobs, SMTP email support, and PDF/XLSX document generation, and more. All aimed at simplifying and automating daily farm operations.\r\n\r\n\r\n## License\r\n**© 2025 Felix Montragull Kruse. All rights reserved.**\r\n\r\nThis project and its source code are the exclusive property of Felix Montragull Kruse. No part of this software may be copied, modified, distributed, or used without explicit permission.\r\n \r\n\r\n \r\n\r\n### Notes:\r\n\r\nAdd Migration:\r\n```dotnet ef migrations add {Migration Name} --project eGranjaCAT.Infrastructure --startup-project eGranjaCAT.API --context ApplicationDbContext --output-dir Persistence/Migrations```\r\n\r\nUpdate Database:\r\n```dotnet ef database update --project eGranjaCAT.Infrastructure --startup-project eGranjaCAT.API --context ApplicationDbContext```\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixmk0%2Fegranjacat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelixmk0%2Fegranjacat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixmk0%2Fegranjacat/lists"}