Skip to content

Shazwazza/Acme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acme Corporation

Development

If you experience any problems running this solution, please check the prerequisites.

Prerequisites

.NET Core 2.1.3 SDK (v2.1.401)

Install .NET Core 2.1.3 SDK

Docker

Docker is used to run a local instance of Elasticsearch, Kibana and SQL Server 2017.

  1. Install Docker
  2. Ensure you're running Docker with Linux containers (This is the default behaviour when installing Docker).
  3. Share your C:/ drive with Docker by ticking the box in your Docker settings, which are accessible when you right click the Docker icon in your system tray.

More details on docker containers can be found in the readme-file in ./scripts/Docker/

Execution / Run

  1. Execute the docker-compose up from powershell in the following folder: ./scripts/Docker/
    • The docker container contains the following services
      • MsSQL (For serial numbers, submissions and users)
      • ElasicSearch (For logging)
      • Kibana (For log monitoring)
  2. Build solution (using Microsoft Visual Studio 2017 or JetBrains Rider 2018.2)
  3. Run solution
  4. Open browser on the following urls:

Architecture notes

  • The solution is build using onion architecture
    • The domain is shared between layers, but should be as technology free as posible
    • The applicaion implements the business logic, but should be as technology free as posible
    • The infrastructure should implement the repositories. The infrasturcure is where all the technologies combines the solution
      • ORM - EntityFramework Core
      • Validation - FluentValidation
      • Dependency Injection - ASP.Net Core buildin IOC.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages