{"id":20676684,"url":"https://github.com/vitaliy-bezugly/ordersapi","last_synced_at":"2025-03-10T18:47:14.063Z","repository":{"id":144709926,"uuid":"606194185","full_name":"vitaliy-bezugly/OrdersApi","owner":"vitaliy-bezugly","description":"A set of clean approaches based on cqrs (mediatR) to api development using the fictional example of customer orders","archived":false,"fork":false,"pushed_at":"2023-05-09T17:16:01.000Z","size":301,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T14:56:30.436Z","etag":null,"topics":["api-rest","asp-net-core","cqrs","mediatr","sqlite","unit-testing","x-unit"],"latest_commit_sha":null,"homepage":"https://clean-order-api.herokuapp.com/","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/vitaliy-bezugly.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":"2023-02-24T20:20:59.000Z","updated_at":"2023-03-21T12:51:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"303b45ff-72a1-4e6b-9983-103d77339fed","html_url":"https://github.com/vitaliy-bezugly/OrdersApi","commit_stats":null,"previous_names":["vitaliy-bezugly/ordersapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaliy-bezugly%2FOrdersApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaliy-bezugly%2FOrdersApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaliy-bezugly%2FOrdersApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaliy-bezugly%2FOrdersApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitaliy-bezugly","download_url":"https://codeload.github.com/vitaliy-bezugly/OrdersApi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242906614,"owners_count":20204862,"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":["api-rest","asp-net-core","cqrs","mediatr","sqlite","unit-testing","x-unit"],"created_at":"2024-11-16T21:13:17.754Z","updated_at":"2025-03-10T18:47:14.056Z","avatar_url":"https://github.com/vitaliy-bezugly.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Orders api\nA set of clean approaches based on cqrs (mediatR) to api development using the fictional example of customer orders\n\n\n## 🧐 About app\nThe API describes a fictional example of creating product orders for a specific customer. The API, built using RESTful principles, allows you to perform CRUD operations on 3 data types: Customer, Product, and Order.\n\nThis project is based on \u003ccode\u003eASP .NET Core\u003c/code\u003e using the \u003ccode\u003eMediatR\u003c/code\u003e library. The application uses \u003ccode\u003eSqlite\u003c/code\u003e as a persistent data store. The main reasons for this are ease of implementation and no need for a SQL server, which is acceptable for a home project.\n## 🚀 Deployment\n\nThis application has already been deployed to the web using the \u003ccode\u003eHeroku\u003c/code\u003e service.\n\n\u003ca href=\"https://clean-order-api.herokuapp.com/\"\u003eClick it!\u003c/a\u003e\n\nTo use it as API add to the route \u003ccode\u003eapi/v1/[ControllerName]\u003c/code\u003e\n\n## 🛠️ Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/VitaliyMinaev/OrdersApi.git\n```\n\nGo to the project directory\n\n```bash\n  cd OrdersApi\n```\n\nStart the server\n\n```bash\n  dotnet run\n```\n\n\n## 🧿 Environment Variables\n\nTo run this project, you will need to add the following environment variables\n\n`DatabaseCreated` - Responsible for the state of the data source, takes the value \"true\" if the database has already been created and the current state of the objects describes their representation in the database (no migrations are required) and \"false\" if the database requires a migration operation (recommended value for the first run)\n\n## 💻‍‍ Libraries and frameworks with which the application was created\n\n\u003cul\u003e\n    \u003cli\u003e\u003ccode\u003eASP .NET Core Web API\u003c/code\u003e - as backend framework\u003c/li\u003e\n    \u003cli\u003e\u003ccode\u003eMediatR\u003c/code\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ccode\u003eEntity Framework Core\u003c/code\u003e - as ORM\u003c/li\u003e\n    \u003cli\u003e\u003ccode\u003eSqlite\u003c/code\u003e - as data storage\u003c/li\u003e\n    \u003cli\u003e\u003ccode\u003eIn Memory caching\u003c/code\u003e - with \u003ccode\u003eScrutor\u003c/code\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ccode\u003eXUnit\u003c/code\u003e - as framework for testing\u003c/li\u003e\n\u003c/ul\u003e\n\n## 👨‍💻 Authors\n\n- [@VitaliyMinaev](https://github.com/VitaliyMinaev)\n\n## Screenshots\n\n![image](https://user-images.githubusercontent.com/87979065/226611153-a8a57234-b0b5-4d47-b9b2-15b8f6be5fac.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaliy-bezugly%2Fordersapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitaliy-bezugly%2Fordersapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaliy-bezugly%2Fordersapi/lists"}