Giter Site home page Giter Site logo

iwasug / dotnet-starter-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fullstackhero/dotnet-starter-kit

0.0 0.0 0.0 5.32 MB

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.

Home Page: https://fullstackhero.net/dotnet-webapi-boilerplate/

License: MIT License

C# 88.14% PowerShell 0.10% HTML 9.67% HCL 1.18% Dockerfile 0.04% CSS 0.51% JavaScript 0.35%

dotnet-starter-kit's Introduction

FullStackHero .NET 8 Starter Kit ๐Ÿš€

With ASP.NET Core Web API & Blazor Client

FullStackHero .NET Starter Kit is a starting point for your next .NET 8 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 8 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

  • ASP.NET Core 8
  • Entity Framework Core 8
  • 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

dotnet-starter-kit's People

Contributors

iammukeshm avatar fretje avatar dependabot[bot] avatar xlogex avatar frankyjquintero avatar pashaie avatar 274188a avatar akema-trebla avatar b-virtual avatar snax4a avatar pedroventurawork avatar juststeve avatar ittyabrehman avatar marcelo-maciel avatar zigimun avatar chihabhajji avatar gialan avatar musmanrafiq avatar tj-styr avatar pedroventura235 avatar cetindogu avatar chhinsras avatar trihugger avatar geekz-reno avatar kmvickers avatar khaledafify avatar mustaphaalioglou avatar markosimulak avatar mluepkes avatar mikaelhild avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.