{"id":17349091,"url":"https://github.com/arturwincenciak/blef","last_synced_at":"2025-04-14T21:12:16.653Z","repository":{"id":56709331,"uuid":"523480732","full_name":"ArturWincenciak/Blef","owner":"ArturWincenciak","description":"Card game Bluff","archived":false,"fork":false,"pushed_at":"2024-10-05T08:57:56.000Z","size":1402,"stargazers_count":2,"open_issues_count":12,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T21:12:09.538Z","etag":null,"topics":["asp-net-core","asp-net-core-web-api","azure","azure-devops","bluff-card-game","card-game-bluff","clean-architecture","cqrs","csharp","docker","docker-hub","docker-image","dockerfile","game","modular-monolith"],"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/ArturWincenciak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-08-10T20:00:49.000Z","updated_at":"2024-07-27T09:12:53.000Z","dependencies_parsed_at":"2022-08-15T23:50:32.015Z","dependency_job_id":"c5743615-63b6-4eeb-b0a3-35c0820f15ba","html_url":"https://github.com/ArturWincenciak/Blef","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArturWincenciak%2FBlef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArturWincenciak%2FBlef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArturWincenciak%2FBlef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArturWincenciak%2FBlef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArturWincenciak","download_url":"https://codeload.github.com/ArturWincenciak/Blef/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248961236,"owners_count":21189993,"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","asp-net-core-web-api","azure","azure-devops","bluff-card-game","card-game-bluff","clean-architecture","cqrs","csharp","docker","docker-hub","docker-image","dockerfile","game","modular-monolith"],"created_at":"2024-10-15T16:54:40.492Z","updated_at":"2025-04-14T21:12:16.632Z","avatar_url":"https://github.com/ArturWincenciak.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![v2.0 CleanUp Code](https://github.com/ArturWincenciak/Blef/actions/workflows/ci-cleanup-code.yml/badge.svg)](https://github.com/ArturWincenciak/Blef/actions/workflows/ci-cleanup-code.yml)\n[![v2.0 Inspect Code](https://github.com/ArturWincenciak/Blef/actions/workflows/ci-inspect-code.yml/badge.svg)](https://github.com/ArturWincenciak/Blef/actions/workflows/ci-inspect-code.yml)\n[![v2.1 SonarCloud Analyze](https://github.com/ArturWincenciak/Blef/actions/workflows/ci-sonar-cloud-analyzy.yml/badge.svg)](https://github.com/ArturWincenciak/Blef/actions/workflows/ci-sonar-cloud-analyzy.yml)\n[![v2.0 Unit Tests](https://github.com/ArturWincenciak/Blef/actions/workflows/ci-unit-tests.yml/badge.svg)](https://github.com/ArturWincenciak/Blef/actions/workflows/ci-unit-tests.yml)\n[![CodeQL](https://github.com/ArturWincenciak/Blef/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/ArturWincenciak/Blef/actions/workflows/codeql-analysis.yml)\n[![CodeFactor](https://www.codefactor.io/repository/github/arturwincenciak/blef/badge)](https://www.codefactor.io/repository/github/arturwincenciak/blef)\n\n[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-black.svg)](https://sonarcloud.io/summary/new_code?id=ArturWincenciak_Blef)\n\n# Blef\n\n## Card game\n\n- Docker Hub image: https://hub.docker.com/repository/docker/teovincent/blef\n- Specification: https://blef.azurewebsites.net/swagger/index.html\n\n## How to run for the first time\n\n```cmd\n$ dotnet run --project ./src/Blef.Bootstrapper/Blef.Bootstrapper.csproj\n```\n_then open your web browser to https://localhost:49153/swagger_\n\n\u003e **_NOTE:_** Web Application will run HTTPS without certificate. To fix it run `dotnet dev-certs https --trust` as described in https://www.hanselman.com/blog/developing-locally-with-aspnet-core-under-https-ssl-and-selfsigned-certs\n\n#### Using `Dockerfile`\n```cmd\n$ docker build -t blef-dev .\n$ docker run -dp 3000:80 blef-dev\n```\n_then open your web browser to http://localhost:3000/swagger_\n\n#### Using Docker Hub\n```cmd\n$ docker run -dp 5000:80 teovincent/blef:latest\n```\n_then open your web browser to http://localhost:5000/swagger_\n\n## Project diagram\n\nThe starting point is the [`Blef.Bootstrapper`](./src/Blef.Bootstrapper/Program.cs) project that is responsible for loading modules and launching the service.\n\n![project diagram](https://github.com/ArturWincenciak/Blef/assets/9107578/3377b31e-aac7-4166-afd8-91d309f77690)\n\nStarting points of modules are in API projects, specifically in `Blef.Modules.*.Api` projects. Every API project contains a class that implements the [`IModule`](./src/Shared/Blef.Shared.Abstractions/Modules/IModule.cs) interface.\n\nCurrently, the project consists of two modules: `Games` and `Users`. The `Games` module has a starting point defined in the [`GamesModule`](./src/Modules/Games/Blef.Modules.Games.Api/GamesModule.cs) class, and the `Users` module has a starting point defined in the [`UsersModule`](./src/Modules/Users/Blef.Modules.Users.Api/UsersModule.cs) class.\n\nEach API project module has controller definitions and its own JSON configuration files.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farturwincenciak%2Fblef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farturwincenciak%2Fblef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farturwincenciak%2Fblef/lists"}