Skip to content

tejal97/WebApplicationCleanArchitectureTemplate

 
 

Repository files navigation

Web Application Template On .Net Core 3.1 Using Clean Architecture 👋

The application comprises of complete user and role management dynamically handling the navigatino menus and roles together with user. I made this template on my learning phase of the clear architecture, onion architecture , due to which i might have some implementations or assumptions wrongly made, i wish to receive lots of suggestion so as to make the template better further. You can reach me via my email address tuladhar.rashik@gmail.com

Features

  • 🏗 Built On .Net Core 3.1 - Complete User Management Module ( User Management And Dynamic Role Management)
  • 🌱 Authentication Handled Using Asp.Net Core Identity , Identity Seeding
  • 👯 Onion Architecure, Clean Architecture, Repository Pattern
  • 🏝 Bootstrap 4, Free Version of Ablepro Theme Used, Sweet Alert, Toastr, Datatable
  • 📫 Automapper, Serilog With Seq, Entity Framework + Dapper

How To

Since the application uses both the ef core and dapper as orm, i have used the ef core just to handle the identity part of the application, all the other functionality has been handled using dapper. Used the practice since one can use any orm on the basis of personal preference.

To use the application please follow the steps below

  • First edit the appsettings.json file with the connection string of your database
  • Open of the package manager console and select the project to Infrastructure\Infrastructure.Authentication
  • Use the command update-databse
  • Please add a new user on authusers table with username SUPERUSER and some default password.
  • Run 2 Stored Procedures that is under the folder : DatabaseScripts on the database
  • Now we are good to go

For easiness i have also added the whole database backup so that it can be restored and used without any difficulties

Settings

  • Under appsettings.json file you can customize serilog configuration as per your need
  • Under appsettings.json and ApplicationData Node you can customize the root url, Company details and default password as well

Connect with me:

Rashik Tuladhar Rashik Tuladhar | Twitter Rashik Tuladhar | LinkedIn Rashik Tuladhar | Instagram


About

Web application implementing clean architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.5%
  • CSS 12.7%
  • C# 2.8%
  • Other 1.0%