{"id":16157733,"url":"https://github.com/leynier/gateways-net","last_synced_at":"2025-07-24T08:02:57.780Z","repository":{"id":111957538,"uuid":"492650268","full_name":"leynier/gateways-net","owner":"leynier","description":"This project is for a technical interview at a company called Musala Soft.","archived":false,"fork":false,"pushed_at":"2022-12-03T22:36:55.000Z","size":83,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T20:41:59.298Z","etag":null,"topics":["asp-net","asp-net-api","asp-net-core","asp-net-core-api","clean-architecture","entity-framework","entity-framework-core","musalasoft","technical-interview"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leynier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-05-16T01:42:32.000Z","updated_at":"2022-05-30T02:14:06.000Z","dependencies_parsed_at":"2023-07-01T07:23:00.038Z","dependency_job_id":null,"html_url":"https://github.com/leynier/gateways-net","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leynier%2Fgateways-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leynier%2Fgateways-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leynier%2Fgateways-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leynier%2Fgateways-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leynier","download_url":"https://codeload.github.com/leynier/gateways-net/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247578632,"owners_count":20961270,"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","asp-net-api","asp-net-core","asp-net-core-api","clean-architecture","entity-framework","entity-framework-core","musalasoft","technical-interview"],"created_at":"2024-10-10T01:50:29.473Z","updated_at":"2025-04-07T01:41:49.878Z","avatar_url":"https://github.com/leynier.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gateways\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![Tests](https://github.com/leynier/gateways-net/actions/workflows/tests.yaml/badge.svg)](https://github.com/leynier/gateways-net/actions/workflows/tests.yaml)\n[![Last commit](https://img.shields.io/github/last-commit/leynier/gateways-net.svg?style=flat)](https://github.com/leynier/gateways-net/commits)\n[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/leynier/gateways-net)](https://github.com/leynier/gateways-net/commits)\n[![Github Stars](https://img.shields.io/github/stars/leynier/gateways-net?style=flat\u0026logo=github)](https://github.com/leynier/gateways-net/stargazers)\n[![Github Forks](https://img.shields.io/github/forks/leynier/gateways-net?style=flat\u0026logo=github)](https://github.com/leynier/gateways-net/network/members)\n[![Github Watchers](https://img.shields.io/github/watchers/leynier/gateways-net?style=flat\u0026logo=github)](https://github.com/leynier/gateways-net)\n[![GitHub contributors](https://img.shields.io/github/contributors/leynier/gateways-net)](https://github.com/leynier/gateways-net/graphs/contributors)\n\nThis project is for a technical interview at a company called [Musala Soft](https://www.musala.com/).\n\n## Description\n\nThis sample project is managing gateways - master devices that control multiple peripheral devices.\n\nYour task is to create a REST service (JSON/HTTP) for storing information about these gateways and their associated devices.\n\nThis information must be stored in the database.\n\nWhen storing a gateway, any field marked as “to be validated” must be validated and an error returned if it is invalid.\n\nAlso, no more that 10 peripheral devices are allowed for a gateway.\n\nThe service must also offer an operation for displaying information about all stored gateways (and their devices) and an operation for displaying details for a single gateway. Finally, it must be possible to add and remove a device from a gateway.\n\nEach gateway has:\n\n- a unique serial number (string),\n- human-readable name (string),\n- IPv4 address (to be validated),\n- multiple associated peripheral devices.\n\nEach peripheral device has:\n\n- a UID (number),\n- vendor (string),\n- date created,\n- status - online/offline.\n\n### Other considerations\n\nPlease, provide\n- Basic UI - recommended or (providing test data for Postman (or other rest client) if you do not have\nenough time.\n- Meaningful Unit tests.\n- Readme file with installation guides.\n- An automated build.\n\n## Installation guide\n\n- Install .Net 6.0 (\u003chttps://dotnet.microsoft.com/en-us/download\u003e)\n- Install Git (\u003chttps://git-scm.com/downloads\u003e)\n- Clone the repository (`git clone https://github.com/leynier/gateways-net.git`)\n- Navigate to the root of the repository (`cd gateways-net`)\n- Install the project dependencies (`dotnet restore`)\n- Build the project (`dotnet build`)\n- Run the project (`dotnet run --project Gateways.Api`)\n- Open browser and navigate to \u003chttps://localhost:7114/swagger\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleynier%2Fgateways-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleynier%2Fgateways-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleynier%2Fgateways-net/lists"}