Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogLoader CrudApp

This project was generated with Angular CLI version 9.0.3.

Development server Front-end Angular - TReuters.LogLoader.WebSite Folder

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Install @angular-devkit/build-angular

If you have any problems or something like "Cannot find module '@angular-devkit/build-angular/package.JSON'"

type: npm install --save-dev @angular-devkit/build-angular

Development server .Net Core Web API

Open visual studio and start the WEB API, the swagger documentation page will open.

Fix .Net Core Web API common error about assembly

If you have any problems about "[assembly: Microsoft.AspNetCore.Identity.UI.UIFrameworkAttribute("Bootstrap4")]" Comment that code line in AssemblyInfo.cs

Development Postgres Database

Open the database.txt file to get the script of creation

Some warnings

All non-required fields were configured referring to the batch file.

The .Net Core Web API is configured to accept request from localhost and specific front end port if you have something to do about it, open the Startup.cs file and change for your necessity.

Was configured a general filter for an exception so if you have any problem you can update the Startup.cs The application is configured to use "postgres" user and password "123" if you want to change go to appsettings.json file

Used concepts and techniques

DDD

      Rich Domain Objects
      Pure Domain
      Layered Architecture
      Layer responsability separation
      Services
      Domain Services

Unit tests

Aspect programming null checking using Fody/NullGuard nuget package

Unit of Work pattern

Explicit use of optional/null object using Maybe class

Functional programming

Pure Functions
No side effect
Immutability (Log Entity)

Dependency Injection

Avoiding exception flow control using Result.cs

Asynchronous Web API and methods that offers a better user experience

Application layer, adapters e view models to separate Domain Entities from endpoint data models

Swagger to WEB API documentation

About

CRUD and compilation of engineering software concepts to improve software quality and maintainability.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages