Skip to content

Point-of-sale system project for VU Software Design and Architecture course.

License

Notifications You must be signed in to change notification settings

aauga/pos-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Point-of-Sale system

Point-of-sale system project for VU Software Design and Architecture course. Not all endpoints are implemented from the given documentation, only the order flow (order, item, cart, payment and delivery creation and querying) and a basic auth for employees.

Installation

Run the application

dotnet run --project WebApi

Update database

dotnet ef database update -p Infrastructure -s WebApi

What is different from the Swagger document

  • In the request body of PUT, POST commands we have decided to omit the TenantId and EmployeeId fields, as they are known from auth.
  • In the data model (its impossible to do this laboratory work without it), an employee can have only one position but can have many users. Why would you need many user accounts if you work in the same store? Most probably it was a mistake and it should've been a N:M connection between employee and position. But then the User entity did not store any info about Position, so it is unknown to which Position to assign the User to. It's a mishmash, so a decision was made to merge Position and User into Employee, so that for each store a new Employee would be created.

About

Point-of-sale system project for VU Software Design and Architecture course.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages