{"id":15003075,"url":"https://github.com/sidavd/minimal_api_project","last_synced_at":"2026-03-11T19:01:59.739Z","repository":{"id":243385795,"uuid":"812267172","full_name":"SidAvd/Minimal_API_Project","owner":"SidAvd","description":"A database managing minimal API","archived":false,"fork":false,"pushed_at":"2024-06-08T12:15:15.000Z","size":260,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T13:57:02.617Z","etag":null,"topics":["asp-net-core","crud-api","csharp","entity-framework-core","http-requests","microsoft-sql-server","minimal-api","rest-api"],"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/SidAvd.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":"2024-06-08T12:08:15.000Z","updated_at":"2024-06-08T12:17:16.000Z","dependencies_parsed_at":"2024-06-08T14:49:59.077Z","dependency_job_id":null,"html_url":"https://github.com/SidAvd/Minimal_API_Project","commit_stats":null,"previous_names":["sidavd/minimal_api_project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FMinimal_API_Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FMinimal_API_Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FMinimal_API_Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FMinimal_API_Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SidAvd","download_url":"https://codeload.github.com/SidAvd/Minimal_API_Project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243153779,"owners_count":20244816,"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","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":["asp-net-core","crud-api","csharp","entity-framework-core","http-requests","microsoft-sql-server","minimal-api","rest-api"],"created_at":"2024-09-24T18:55:42.898Z","updated_at":"2026-03-11T19:01:54.713Z","avatar_url":"https://github.com/SidAvd.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RESTapi Project\nMinimal API that manages a database.\n\n## About the Project\nIn this project a minimal API manages information in a Database. The project is created with the ASP.NET Framework. The DB tables\nare connected with a many-to-many relationship. The managing of the DB information is realized with the use of Entity Framework\nORM. The RDBMS used is Microsoft SQL Server.\n\n## Functionality\nWith the API running the user can use Postman or Endpoints Explorer in Visual Studio Community and test the endpoints. They\ncan post JSON formated information to the DB, can get info from the DB, can update DB's already existing records and can \ndelete them (CRUD).\n\nIn the DB there are three tables: Workers, Errands and the Join Table that coresponds to the many-to-many relationship that the\nfirst two tables have, meaning which workers run which errands:\n\n![database](\u003cMinimal_API_Project/Images/Database.png\u003e)\n\nThe user can get all Workers:\n\n![get all workers](\u003cMinimal_API_Project/Images/getallworkers_image.png\u003e)\n\ncan get one Worker:\n\n![get one worker](\u003cMinimal_API_Project/Images/getoneworker.png\u003e)\n\ncan post a Worker:\n\n![post a worker](\u003cMinimal_API_Project/Images/postaworker.png\u003e)\n\ncan update a Worker:\n\n![update worker](\u003cMinimal_API_Project/Images/updateworker.png\u003e)\n\nand can delete a Worker:\n\n![delete worker](\u003cMinimal_API_Project/Images/deleteworker.png\u003e)\n\nThe same actions can be done for the Errands table, for example the user can post an errand:\n\n![post an errand](\u003cMinimal_API_Project/Images/postanerrand.png\u003e)\n\nThe user also can create relations between a Worker and an Errand by adding their respective ids to the third DB table (Join Table):\n\n![post errand worker](\u003cMinimal_API_Project/Images/posterrandworker.png\u003e)\n\nThe user can ask all errand-worker realtionaships:\n\n![get all errandworkers](\u003cMinimal_API_Project/Images/getallerrandworkers.png\u003e)\n\ncan ask a specified errand-worker relationship:\n\n![get one errandworker](\u003cMinimal_API_Project/Images/getanerrandworker.png\u003e)\n\nand finally can delete a relationship between a worker and an errand from the DB:\n\n![delete errandworker](\u003cMinimal_API_Project/Images/deleteerrandworker.png\u003e)\n\n## Technical Information\nThe project contains all the logic of an API that manages a DB. This means that it uses Models (classes) that corespond to the tables\nof the DB, it uses the Entity Framework object-relational mapping to relate the DB's tables with the models and realize the many-to-many\nrelationship that these tables have. Because it is a minimal API the project doesn't use Controllers. It uses Map methods that each \ncorrespond to an endpoint and fetches the info from the DB that matches to the URI. DTO logic is also used for practicing more safe methods.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidavd%2Fminimal_api_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsidavd%2Fminimal_api_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidavd%2Fminimal_api_project/lists"}