MyGit

fullstackhero/dotnet-starter-kit

Fork: 1592 Star: 5303 (更新于 2024-12-05 04:00:33)

license: MIT

Language: C# .

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.

最后发布版本: 2.0.2-rc ( 2024-08-23 16:53:58)

官方网址 GitHub网址

FullStackHero .NET 9 Starter Kit 🚀

With ASP.NET Core Web API & Blazor Client

FullStackHero .NET Starter Kit is a starting point for your next .NET 9 Clean Architecture Solution that incorporates the most essential packages and features your projects will ever need including out-of-the-box Multi-Tenancy support. This project can save well over 200+ hours of development time for your team.

FullStackHero .NET Starter Kit

Important

This project is currently work in progress. The NuGet package is not yet available for v2. For now, you can fork this repository to try it out. Follow @iammukeshm on X for project related updates.

Quick Start Guide

As the project is still in beta, the NuGet packages are not yet available. You can try out the project by pulling the code directly from this repository.

Prerequisites:

  • .NET 9 SDK installed.
  • Visual Studio IDE.
  • Docker Desktop.
  • PostgreSQL instance running on your machine or docker container.

Please follow the below instructions.

  1. Fork this repository to your local.
  2. Open up the ./src/FSH.Starter.sln.
  3. This would up the FSH Starter solution which has 3 main components.
    1. Aspire Dashboard (set as the default project)
    2. Web API
    3. Blazor
  4. Now we will have to set the connection string for the API. Navigate to ./src/api/server/appsettings.Development.json and change the ConnectionString under DatabaseOptions. Save it.
  5. Once that is done, run the application via Visual Studio, with Aspire as the default project. This will open up Aspire Dashboard at https://localhost:7200/.
  6. API will be running at https://localhost:7000/swagger/index.html.
  7. Blazor will be running at https://localhost:7100/.

🔎 The Project

✨ Technologies

  • .NET 9
  • Entity Framework Core 9
  • Blazor
  • MediatR
  • PostgreSQL
  • Redis
  • FluentValidation

👨‍🚀 Architecture

📬 Service Endpoints

Endpoint Method Description
/token POST Generates Token.

🧪 Running Locally

🐳 Docker Support

☁️ Deploying to AWS

🤝 Contributing

🍕 Community

Thanks to the community who contribute to this repository! Submit your PR and join the elite list!

FullStackHero .NET Starter Kit Contributors

📝 Notes

Add Migrations

Navigate to ./api/server and run the following EF CLI commands.

dotnet ef migrations add "Add Identity Schema" --project .././migrations/postgresql/ --context IdentityDbContext -o Identity
dotnet ef migrations add "Add Tenant Schema" --project .././migrations/postgresql/ --context TenantDbContext -o Tenant
dotnet ef migrations add "Add Todo Schema" --project .././migrations/postgresql/ --context TodoDbContext -o Todo
dotnet ef migrations add "Add Catalog Schema" --project .././migrations/postgresql/ --context CatalogDbContext -o Catalog

What's Pending?

  • Few Identity Endpoints
  • Blazor Client
  • File Storage Service
  • NuGet Generation Pipeline
  • Source Code Generation
  • Searching / Sorting

⚖️ LICENSE

MIT © fullstackhero

最近版本更新:(数据更新于 2024-09-23 08:11:01)

2024-08-23 16:53:58 2.0.2-rc

2024-08-20 15:13:26 2.0.1-rc

2023-12-16 10:50:58 1.1.0

2023-04-09 10:47:53 1.0.0

2022-02-26 17:22:33 0.0.6-rc

2021-11-28 18:30:00 0.0.5-rc

2021-11-06 20:42:28 0.0.4-rc

2021-10-24 00:27:51 0.0.3-rc

2021-09-29 23:38:30 0.0.1-rc

主题(topics):

aws, blazor, boilerplate, clean-architechture, clean-architecture, codewithmukesh, docker, dotnet, dotnet8, fullstackhero, modular-monolith, multitenancy, starter-kit, template, terraform, vertical-slice-architecture, webapi

fullstackhero/dotnet-starter-kit同语言 C#最近更新仓库

2024-12-20 06:41:40 microsoft/PowerToys

2024-12-07 22:15:43 Pik-4/HsMod

2024-12-01 20:18:03 BililiveRecorder/BililiveRecorder

2024-11-26 14:48:43 Azure/azure-sdk-for-net

2024-11-19 11:38:46 jellyfin/jellyfin

2024-11-15 10:33:01 DigitalRuby/IPBan