{"id":19101468,"url":"https://github.com/mmacneil/AspNetCoreApiStarter","last_synced_at":"2025-04-18T18:32:32.486Z","repository":{"id":50521473,"uuid":"151604967","full_name":"mmacneil/AspNetCoreApiStarter","owner":"mmacneil","description":"An ASP.NET Core (v2.1) Web API project to quickly bootstrap new projects.  Includes Identity, JWT authentication w/ refresh tokens.","archived":false,"fork":false,"pushed_at":"2022-08-25T13:39:20.000Z","size":180,"stargazers_count":354,"open_issues_count":7,"forks_count":143,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-11-08T02:53:31.622Z","etag":null,"topics":["aspnetcore","identity","jwt","jwt-authentication","webapi"],"latest_commit_sha":null,"homepage":"https://fullstackmark.com/post/19/jwt-authentication-flow-with-refresh-tokens-in-aspnet-core-web-api","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/mmacneil.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}},"created_at":"2018-10-04T16:47:03.000Z","updated_at":"2024-11-05T03:45:11.000Z","dependencies_parsed_at":"2022-08-03T00:31:15.527Z","dependency_job_id":null,"html_url":"https://github.com/mmacneil/AspNetCoreApiStarter","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/mmacneil%2FAspNetCoreApiStarter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmacneil%2FAspNetCoreApiStarter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmacneil%2FAspNetCoreApiStarter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmacneil%2FAspNetCoreApiStarter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmacneil","download_url":"https://codeload.github.com/mmacneil/AspNetCoreApiStarter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223783089,"owners_count":17201907,"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":["aspnetcore","identity","jwt","jwt-authentication","webapi"],"created_at":"2024-11-09T03:53:18.915Z","updated_at":"2024-11-09T03:57:35.908Z","avatar_url":"https://github.com/mmacneil.png","language":"C#","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# AspNetCoreApiStarter\nAn ASP.NET Core (v2.1) Web API project to quickly bootstrap new projects.  Includes Identity, JWT authentication w/ refresh tokens.\n\n# Setup\n- Uses Sql Server Express LocalDB (If using Visual Studio install it under Individual Components in the Visual Studio installer or install separately using [this link](https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-2016-express-localdb?view=sql-server-2017).\n- Apply database migrations to create the db.  From a command line within the *Web.Api.Infrastructure* project folder use the dotnet CLI to run : \n- \u003ccode\u003eWeb.Api.Infrastructure\u003e**dotnet ef database update --context AppDbContext**\u003c/code\u003e\n- \u003ccode\u003eWeb.Api.Infrastructure\u003e**dotnet ef database update --context AppIdentityDbContext**\u003c/code\u003e\n\n# Visual Studio\nOpen the solution file \u003ccode\u003eAspNetCoreApiStarter.sln\u003c/code\u003e and build/run.\n\n# Visual Studio Code\nOpen the \u003ccode\u003esrc\u003c/code\u003e folder and \u003ccode\u003eF5\u003c/code\u003e to build/run.\n\n# Swagger Enabled\nTo explore and test the available APIs simply run the project and use the Swagger UI.\n\nThe available APIs include:\n- POST `/api/accounts` - Creates a new user.\n- POST `/api/auth/login` - Authenticates a user.\n- POST `/api/auth/refreshtoken` - Refreshes expired access tokens.\n- GET `/api/protected` - Protected controller for testing role-based authorization.\n\n# Contact\nmark@fullstackmark.com\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmacneil%2FAspNetCoreApiStarter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmacneil%2FAspNetCoreApiStarter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmacneil%2FAspNetCoreApiStarter/lists"}