{"id":18302802,"url":"https://github.com/anganda/vendingmachineapi","last_synced_at":"2026-04-30T15:31:23.116Z","repository":{"id":235153063,"uuid":"790131443","full_name":"AngAnda/VendingMachineAPI","owner":"AngAnda","description":" REST API for a Vending Machine, built with ASP.NET and Sqlite database","archived":false,"fork":false,"pushed_at":"2024-05-05T18:44:34.000Z","size":165,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T10:12:52.520Z","etag":null,"topics":["angular","asp-net","automapper","csharp","entity-framework","rest-api","three-layer-architecture"],"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/AngAnda.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-04-22T10:20:05.000Z","updated_at":"2024-08-11T13:25:11.000Z","dependencies_parsed_at":"2024-12-23T02:42:13.286Z","dependency_job_id":"38968f5a-fa3e-4594-b3f7-9f7b3cc7de15","html_url":"https://github.com/AngAnda/VendingMachineAPI","commit_stats":null,"previous_names":["anganda/vendingmachineapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AngAnda/VendingMachineAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngAnda%2FVendingMachineAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngAnda%2FVendingMachineAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngAnda%2FVendingMachineAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngAnda%2FVendingMachineAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AngAnda","download_url":"https://codeload.github.com/AngAnda/VendingMachineAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngAnda%2FVendingMachineAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32469344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["angular","asp-net","automapper","csharp","entity-framework","rest-api","three-layer-architecture"],"created_at":"2024-11-05T15:22:32.608Z","updated_at":"2026-04-30T15:31:23.100Z","avatar_url":"https://github.com/AngAnda.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vending Machine REST API \n\n## Introduction\nThis document provides an overview of the Vending Machine REST API project. The project implements a vending machine system using ASP.NET with a three-layer architecture and Entity Framework for database operations.\n\n## API Endpoints\nThe API exposes the following endpoints:\n- **GET /api/products**: Retrieves a list of products available in the vending machine.\n- **POST /api/products**: Allows a user to purchase a product from the vending machine.\n- **POST /api/products{id}**: Allows a user to purchase a product from the vending machine. \n- **PUT /api/products{id}**: Allows a user to update a product from the vending machine. \n- **DELETE /api/products{id}**: Allows a user to delete a product from the vending machine. \n\n## Technologies Used\n- **RESTful API**: Design pattern for building scalable web services.\n- **C#**: Programming language used for implementing the application logic.\n- **ASP.NET**: Framework for building web applications and APIs.\n- **AutoMapper**: A versatile object-mapping library used for efficient mapping between different object types, reducing manual coding efforts and improving maintainability.\n- **Entity Framework**: ORM (Object-Relational Mapping) framework for interacting with databases.\n\n## Architecture Overview\nThe project follows the three-layer architecture pattern, consisting of the following layers:\n- **Presentation Layer**: This layer handles incoming HTTP requests and provides responses. It includes controllers, models, and any other components related to handling HTTP requests and responses.\n- **Business Logic Layer**: This layer contains the business logic of the application. It implements the rules and operations required by the vending machine system.\n- **Data Access Layer**: This layer interacts with the database. It includes repositories, entities, and any other components responsible for database operations.\n\n## Project Structure\nThe project structure follows the conventions of an ASP.NET application with a three-layer architecture:\n- **Controllers**: Contains API controllers responsible for handling HTTP requests.\n- **Services**: Implements the business logic of the application.\n- **Data Access**: Includes repositories and entities for interacting with the database.\n- **Models**: Defines data models used throughout the application.\n- **DTOs (Data Transfer Objects)**: Defines objects used for transferring data between layers.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanganda%2Fvendingmachineapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanganda%2Fvendingmachineapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanganda%2Fvendingmachineapi/lists"}