Skip to content

A GUI based Hospital calendar and general planning System, developed during the Introduction to Software engineering University course.

Notifications You must be signed in to change notification settings

davidivkovic/usi-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Hospital Calendar 🏥

A GUI based Hospital calendar and general planning System, developed during the Introduction to Software engineering University course.

Built with

Prerequisites:

Showcase 📸

login admin doctor manager

How to run 🚀

  • Open HospitalCalendar.sln in Visual Studio
  • Restore NuGet Packages for the solution (Right click the solution -> Restore NuGet packages)
Editing the connection string
  • Set HospitalCalendar.EntityFramework as the startup project (Right Click -> Set As Startup Project)
  • Provide your connection string to a server database in the file HospitalCalendarDbContextFactory.cs under the DbContextOptionsBuilder
Code first migration
  • Open the Package Manager Console (View -> Other Windows -> Package Manager Console)
  • In the console, set the default project to HospitalCalendar.EntityFramework
  • Enter the command $ Add-Migration initial (This will generate an Entity Framework migration containing the SQL database schema which references the project HospitalCalendar.Domain)
  • Enter the command $ Update-Database (This will apply the migration schema to the database)
Creating an administrator account
  • Set the ServicesTestConsoleApp as the startup project
  • Enter your administrator account data in the line userService.Register(typeof(Administrator), "FirstName", "LastName", "username", "password").GetAwaiter().GetResult();
  • Run the console application (The registration should be successful if no exceptions are thrown)
Logging in
  • Set HospitalCalendar.WPF as the startup project
  • Finally, Run the aplication

About

A GUI based Hospital calendar and general planning System, developed during the Introduction to Software engineering University course.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published