{"id":20244375,"url":"https://github.com/sidavd/rest_api_project","last_synced_at":"2026-04-17T06:33:22.108Z","repository":{"id":242365174,"uuid":"807105805","full_name":"SidAvd/REST_API_Project","owner":"SidAvd","description":"A database manging RESTapi","archived":false,"fork":false,"pushed_at":"2024-06-02T12:30:07.000Z","size":169,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-11T09:04:08.191Z","etag":null,"topics":["asp-net-core","crud","csharp","dto","entity-framework-core","http-requests","mysql-database","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,"zenodo":null}},"created_at":"2024-05-28T13:46:51.000Z","updated_at":"2024-06-02T12:59:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6b564b7-61db-4c7a-9ef6-6c48d1f0375a","html_url":"https://github.com/SidAvd/REST_API_Project","commit_stats":null,"previous_names":["sidavd/rest_api_project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SidAvd/REST_API_Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FREST_API_Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FREST_API_Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FREST_API_Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FREST_API_Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SidAvd","download_url":"https://codeload.github.com/SidAvd/REST_API_Project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FREST_API_Project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31918543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["asp-net-core","crud","csharp","dto","entity-framework-core","http-requests","mysql-database","rest-api"],"created_at":"2024-11-14T09:14:54.806Z","updated_at":"2026-04-17T06:33:22.077Z","avatar_url":"https://github.com/SidAvd.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RESTapi Project\nRest API that manages a Database.\n\n## About the Project\nThis is a simple project in which a basic API manages information in a Database (Rest-HTTP). The project is created with the\nASP.NET Framework. The DB tables are connected with a many-to-many relationship. The managing of the DB information is realized\nwith the use of Entity Framework ORM. The RDBMS used is MySQL.\n\n## Functionality \nWhith the API running the user utilizing the endpoints accordingly (with Postman or Swagger for example) can Post information\n(JSON formatted) that is being saved in the DB, can Get info from the DB, can update the DB's info and can delete from the DB\n(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](\u003cREST_API_Project/Images/Database.png\u003e)\n\nThe user can create, delete and update a Worker and can also\nask from the DB all the Workers:\n\n![workers actions](\u003cREST_API_Project/Images/WorkersActions.png\u003e)\n\nAction example, posting a Worker:\n\n![posting a worker](\u003cREST_API_Project/Images/PostingAWorker.png\u003e)\n\nThe same actions can be done for the Errands table:\n\n![errands actions](\u003cREST_API_Project/Images/ErrandsActions.png\u003e)\n\nAction example, posting an Errand:\n\n![posting an errand](\u003cREST_API_Project/Images/PostingAnErrand.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).\nThe user can ask all or a specified relationship and can delete a relationship between a worker and an errand from the DB:\n\n![errands actions](\u003cREST_API_Project/Images/ErrandWorkersActions.png\u003e)\n\nAction example, getting a specified WorkerErrand:\n\n![getting an errand worker](\u003cREST_API_Project/Images/GettingAnErrandWorker.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. It also uses Controllers to relate the API's URIs (endpoints) to certain actions (and what info it \nis to be fetched from the DB). DTO logic is also used for practicing more safe methods.\n\n## Test the App\nDownload the project. Create the DB schema. Open Visual Studio and then open the Package Manager Console. Run Add-Migration \"Init migration\"\nand after its done run Update-Database. After the DB's tables are created run the project and test all the endpoints of the API with\nPostamn or Swagger.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidavd%2Frest_api_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsidavd%2Frest_api_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidavd%2Frest_api_project/lists"}