Skip to content

Online Shop API with PostgreSQL, IMemoryCache and Serilog

Notifications You must be signed in to change notification settings

elmur0d11/OnlineShopAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

ASP.NET CORE WEBAPI Online Shop API

Commit 12/30/2024

Note

Added Unit Tests to Controllers

Commit 12/28/2024

Note

Added Hangfire for auto get data about cache. I Add it just for FUN )

USED

C#

ASP.NET CORE

EntityFramework

IMemoryCache

Serilog

Hangfire

xUnit

Before run project!

docker-compose up
docker-compose down
docker-compose up -d

Docker used for Seq. For manage Log Files :shipit:

To Create PostgreSQL Db

Update-Database

Note

If you dont want use log u can easly remove Serilog NuGet package and Remove file Services/Logging/Serilog.cs after that you should cahnge you appsetting.json configurations to >>>

"Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },

Tip

You can change configurations of the Serilog on appsettings.json

Tip

You can change configurations of the Docker Compose in docker-compose.yml

About

Online Shop API with PostgreSQL, IMemoryCache and Serilog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages