Skip to content

caulax/GameHubBack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameHub.Backend

This folder contains backend code of GameHub project.

Structure

  • Startup.cs - configuration of services, database and their lifetime
  • MappingProfile.cs - mapping of data structures used for easier conversion between parsed data and database entities
  • GameHubContext.cs - database configuration and lists for accessing database entities
  • Hubs\GameHub.cs - communication with clients
  • Entities\ - database entities
  • Services\ - business logic
    • GameService.cs - service for game scenario files importing and parsing
    • GameSessionService\GameController.cs - service for active games managing
  • Models\ - models for data parsing and transfering
  • Controllers\ - controllers for web interface
  • Views\ - views for web interface

Development

  1. Install Visual Studio Community 2017 or newer with the following workloads:
    • ASP.NET and web development
    • .NET Core cross-platform development
  2. Open solution and launch Packet Manager Console, run the following command:
    • Update-Database
  3. On first launch you will be asked to choose Windows Firewall settings. Choose the following:
    • Allow access in home networks
    • Allow access in public networks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published