Skip to content

milicavasic97/Orhedge

 
 

Repository files navigation

Orhedge

Application is meant to be place where student can work together, sharing study materials and communication on different topics. Questions can be asked, comments can be liked, users can be rewarded or punished with excluding from system. Materials are filtered and sorted, and student can upload/download material from a page.

Getting started

You can clone the repo on your local machine using https://Orhege@dev.azure.com/Orhege/Orhege/_git/Orhege , and open it in Visual Studio. You need to have Microsoft Account. If you don't have one, you can open it for free - (Sign in/Create)Microsoft Account;

System architecture

Architecture
Three-layered architecture is used:

  • Orhedge project represents presentation layer. It is ASP.NET Core Web Application. It uses Autofac as Dependency Injector and Automapper for automatic mapping between models.
  • ServiceLayer project represents Business Logic Layer and contains main logic for application. It is .NET Core Library project with dependencies: Automapper and NLog. Nlog is modern library used for logging purposes. It uses simple Repository Pattern.
  • DatabaseLayer project represents Data Layer and it wraps around Entity Framework Core. Code First Approach is used, as well as FluentAPI. It contains database entities and main context which offers database access.

Prerequisites

Project is not dependent on type of a platform, you just need to have .NET Core 2.2 installed on your system. You need to install:

Installing

Running the tests

You can run all tests using Visual Studio Test Explorer. There you have hierarchical structure showing you test classes and test methods. You run tests by clicking on button Run. Project uses MSTest Framework for testing.

What is being tested?

Unit test are written for service classess from ServiceLayer.dll project.

And coding style tests

Each test class is named by class that is being tested. Each test method is named using this convention: public void MethodNameDataValidityReturnsResult();

Deployment

Application is supposed to use remote file server, so it needs to be configured. Using Publish option in Visual Studio, ASP.NET Web Application can be published.

Built With

Authors

  • Marija Novakovic
  • Bojan Malinic
  • Milica Vasic
  • Aleksandar Zrnic
  • Goran Majstorovic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.8%
  • C# 25.0%
  • TypeScript 11.7%
  • HTML 8.6%
  • CSS 1.9%