Skip to content

An application called Horizon, where farmers enter their information, has been developed so that they can track their cows.

Notifications You must be signed in to change notification settings

aenesgur/horizon_application

Repository files navigation

Horizon App

An application called Horizon, where farmers enter their information, has been developed so that they can track their cows.

  • Generic Repository Pattern and Unit Of Work Pattern were applied as architecture in the application.

  • One to one relationship was created between the Animal and Feed Visit models.

  • Serilog was used for log settings and logs were written to Kibana via Elasticsearch running on Docker.

  • Entity Framework Core was used with the code first approach.

  • Swagger integrated to system.

  • Unit test written with xUnit and Moq

  • Filter and Pagination added to list endpoints

Used Technology

Setup

  • Enter folder path
  • Open command Run:
docker-compose up -d
  • To migrate database, we should open Package Manager Console in project and adding first migration with this command but be sure that Default project is Horizon.Data
add-migration Initial_Migration
  • After adding migration, if we can see “Migrations” folder in Data layer, that means everything is okay :) Now will update database with this command
update-database

Endpoints

55

Swagger

localhost:[PORT_NUMBER]/swagger

image

Kibana Log Dashboard

http://localhost:5601/

44

About

An application called Horizon, where farmers enter their information, has been developed so that they can track their cows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages