Skip to content

Includes both an EF-Core/MSSQL backend with API and a simple console project that consumes it. Logs employee shifts.

Notifications You must be signed in to change notification settings

frockett/Console-ShiftTracker

Repository files navigation

Console-ShiftTracker

This project served as an opportunity to learn writing a web API with ASP.NET core. The solution consists of two projects, one which builds the API and database and simulates the "server" and one which simulates the "client" by allowing the user to send requests and view data.

the result of viewing all shifts

Features

  • Track shifts per employee. Add, edit, or delete both shifts and employee with a responsive database (delete the employee? All their shifts are gone too!)

alt text

Getting started

  • After cloning repo, make sure you have MSSQL server set up.
  • IMPORTANT: replace your own MSSQL server information in the OnConfiguring method of ShiftLogContext.cs.
  • Log those shifts!

Comments

  • While this is just a simple project meant for learning about APIs and practicing the repository pattern, all are welcome to use this as a template for an ASP.net API or any other purpose you can think of.

Credit

This project was originally forked from the C# Academy repo. It has been reuploaded to its own independent repo because the fork contained other students' versions of the project. Shout out to Pablo for making such a great resource!

About

Includes both an EF-Core/MSSQL backend with API and a simple console project that consumes it. Logs employee shifts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages