{"id":25835995,"url":"https://github.com/revazashvili/usermanagement","last_synced_at":"2025-08-23T00:25:24.987Z","repository":{"id":104183948,"uuid":"398479624","full_name":"Revazashvili/UserManagement","owner":"Revazashvili","description":"Simple User Management Project","archived":false,"fork":false,"pushed_at":"2023-04-22T20:24:18.000Z","size":162,"stargazers_count":48,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T23:08:27.425Z","etag":null,"topics":["asp-net-core","ef-core","fluentvalidation","jwt","mapster","mediatr","refresh-token"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Revazashvili.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,"zenodo":null}},"created_at":"2021-08-21T06:00:12.000Z","updated_at":"2025-06-27T17:55:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf803ac1-61cf-4403-8cb5-0e13349f9bf9","html_url":"https://github.com/Revazashvili/UserManagement","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"Revazashvili/CATemplate","purl":"pkg:github/Revazashvili/UserManagement","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Revazashvili%2FUserManagement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Revazashvili%2FUserManagement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Revazashvili%2FUserManagement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Revazashvili%2FUserManagement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Revazashvili","download_url":"https://codeload.github.com/Revazashvili/UserManagement/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Revazashvili%2FUserManagement/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271722690,"owners_count":24809667,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"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","ef-core","fluentvalidation","jwt","mapster","mediatr","refresh-token"],"created_at":"2025-03-01T01:38:48.494Z","updated_at":"2025-08-23T00:25:24.948Z","avatar_url":"https://github.com/Revazashvili.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UserManagement\nSimple User Management Project For User Registration and Login\n\n## Overview\n### Domain\nThis will contain all entities, enums, exceptions, interfaces, types and logic specific to the domain layer.\n\n### Application\nThis layer contains all application logic. It is dependent on the domain layer, but has no dependencies on any other layer or project. This layer defines interfaces that are implemented by outside layers. For example, if the application need to access a notification service, a new interface would be added to application and an implementation would be created within infrastructure.\n\n### Infrastructure\nThis layer contains classes for accessing external resources such as file systems, web services, smtp, and so on. These classes should be based on interfaces defined within the application layer.\n\n### API\nThis layer is a Web API based on ASP.NET Core 5. This layer depends on both the Application and Infrastructure layers, however, the dependency on Infrastructure is only to support dependency injection. Therefore only *Startup.cs* should reference Infrastructure.\n\n\n## Technologies\n\n* ASP.NET Core 5\n* [Entity Framework Core 5](https://docs.microsoft.com/en-us/ef/core/)\n* [MediatR](https://github.com/jbogard/MediatR)\n* [Mapster](https://github.com/MapsterMapper/Mapster)\n* [FluentValidation](https://fluentvalidation.net/)\n* [Serilog](https://serilog.net/)\n* [JWT](https://jwt.io/)\n* [Ardalis.ApiEndpoints](https://github.com/ardalis/ApiEndpoints)\n* [Forbid](https://github.com/Revazashvili/Forbid)\n\n### Database Configuration\n\nThe template is configured to use an in-memory database by default. This ensures that all users will be able to run the solution without needing to set up additional infrastructure (e.g. SQL Server).\n\nIf you would like to use SQL Server, you will need to update **API/appsettings.json** as follows:\n\n```json\n  \"UseInMemoryDatabase\": false,\n```\n\nVerify that the **DefaultConnection** connection string within **appsettings.json** points to a valid SQL Server instance.\n\nWhen you run the application the database will be automatically created (if necessary) and the latest migrations will be applied.\n\n# SQL Server In Docker \n#### Run container\n```dockerfile\ndocker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=yourStrong(!)Password' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2017-latest\n```\n#### Connect to container\n```dockerfile\ndocker exec -it [id] /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P \"\u003cYourStrong@Passw0rd\u003e\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevazashvili%2Fusermanagement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frevazashvili%2Fusermanagement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevazashvili%2Fusermanagement/lists"}