├── .gitignore ├── MySpot.http ├── MySpot.sln ├── README.md ├── docker-compose.yml ├── src ├── MySpot.Api │ ├── Controllers │ │ ├── HomeController.cs │ │ ├── ParkingSpotsController.cs │ │ ├── ReservationsController.cs │ │ └── UsersController.cs │ ├── MySpot.Api.csproj │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── UsersApi.cs │ ├── appsettings.Development.json │ ├── appsettings.json │ └── appsettings.test.json ├── MySpot.Application │ ├── Abstractions │ │ ├── ICommand.cs │ │ ├── ICommandHandler.cs │ │ ├── IQuery.cs │ │ └── IQueryHandler.cs │ ├── Commands │ │ ├── ChangeReservationLicencePlate.cs │ │ ├── DeleteReservation.cs │ │ ├── Handlers │ │ │ ├── ChangeReservationLicencePlateHandler.cs │ │ │ ├── DeleteReservationHandler.cs │ │ │ ├── ReserveParkingSpotForCleaningHandler.cs │ │ │ ├── ReserveParkingSpotForVehicleHandler.cs │ │ │ ├── SignInHandler.cs │ │ │ └── SignUpHandler.cs │ │ ├── ReserveParkingSpotForCleaning.cs │ │ ├── ReserveParkingSpotForVehicle.cs │ │ ├── SignIn.cs │ │ └── SignUp.cs │ ├── DTO │ │ ├── JwtDto.cs │ │ ├── ReservationDto.cs │ │ ├── UserDto.cs │ │ └── WeeklyParkingSpotDto.cs │ ├── Exceptions │ │ ├── EmailAlreadyInUseException.cs │ │ ├── InvalidCredentialsException.cs │ │ ├── ReservationNotFoundException.cs │ │ ├── UserNotFoundException.cs │ │ ├── UsernameAlreadyInUseException.cs │ │ └── WeeklyParkingSpotNotFoundException.cs │ ├── Extensions.cs │ ├── MySpot.Application.csproj │ ├── Queries │ │ ├── GetUser.cs │ │ ├── GetUsers.cs │ │ └── GetWeeklyParkingSpots.cs │ └── Security │ │ ├── IAuthenticator.cs │ │ ├── IPasswordManager.cs │ │ └── ITokenStorage.cs ├── MySpot.Core │ ├── Abstractions │ │ └── IClock.cs │ ├── DomainServices │ │ ├── IParkingReservationService.cs │ │ └── ParkingReservationService.cs │ ├── Entities │ │ ├── CleaningReservation.cs │ │ ├── Reservation.cs │ │ ├── User.cs │ │ ├── VehicleReservation.cs │ │ └── WeeklyParkingSpot.cs │ ├── Exceptions │ │ ├── CannotReserveParkingSpotException.cs │ │ ├── CustomException.cs │ │ ├── InvalidCapacityException.cs │ │ ├── InvalidEmailException.cs │ │ ├── InvalidEmployeeNameException.cs │ │ ├── InvalidEntityIdException.cs │ │ ├── InvalidFullNameException.cs │ │ ├── InvalidLicencePlateException.cs │ │ ├── InvalidParkingSpotNameException.cs │ │ ├── InvalidPasswordException.cs │ │ ├── InvalidReservationDateException.cs │ │ ├── InvalidRoleException.cs │ │ ├── InvalidUsernameException.cs │ │ ├── NoReservationPolicyFoundException.cs │ │ ├── ParkingSpotAlreadyReservedException.cs │ │ └── ParkingSpotCapacityExceededException.cs │ ├── Extensions.cs │ ├── MySpot.Core.csproj │ ├── Policies │ │ ├── BossReservationPolicy.cs │ │ ├── IReservationPolicy.cs │ │ ├── ManagerReservationPolicy.cs │ │ └── RegularEmployeeReservationPolicy.cs │ ├── Repositories │ │ ├── IUserRepository.cs │ │ └── IWeeklyParkingSpotRepository.cs │ └── ValueObjects │ │ ├── Capacity.cs │ │ ├── Date.cs │ │ ├── Email.cs │ │ ├── EmployeeName.cs │ │ ├── FullName.cs │ │ ├── JobTitle.cs │ │ ├── LicencePlate.cs │ │ ├── ParkingSpotId.cs │ │ ├── ParkingSpotName.cs │ │ ├── Password.cs │ │ ├── ReservationId.cs │ │ ├── Role.cs │ │ ├── UserId.cs │ │ ├── Username.cs │ │ └── Week.cs └── MySpot.Infrastructure │ ├── AppOptions.cs │ ├── Auth │ ├── AuthOptions.cs │ ├── Authenticator.cs │ ├── Extensions.cs │ └── HttpContextTokenStorage.cs │ ├── DAL │ ├── Configurations │ │ ├── CleaningReservationConfiguration.cs │ │ ├── ReservationConfiguration.cs │ │ ├── UserConfiguration.cs │ │ ├── VehicleReservationConfiguration.cs │ │ └── WeeklyParkingSpotConfiguration.cs │ ├── DatabaseInitializer.cs │ ├── Decorators │ │ └── UnitOfWorkCommandHandlerDecorator.cs │ ├── Extensions.cs │ ├── Handlers │ │ ├── Extensions.cs │ │ ├── GetUserHandler.cs │ │ ├── GetUsersHandler.cs │ │ └── GetWeeklyParkingSpotsHandler.cs │ ├── IUnitOfWork.cs │ ├── Migrations │ │ ├── 20220226133911_Init.Designer.cs │ │ ├── 20220226133911_Init.cs │ │ ├── 20220326125618_Cleaning_Reservation.Designer.cs │ │ ├── 20220326125618_Cleaning_Reservation.cs │ │ ├── 20220326142605_Introducing_Capacity.Designer.cs │ │ ├── 20220326142605_Introducing_Capacity.cs │ │ ├── 20220402180304_Users.Designer.cs │ │ ├── 20220402180304_Users.cs │ │ └── MySpotDbContextModelSnapshot.cs │ ├── MySpotDbContext.cs │ ├── PostgresOptions.cs │ ├── PostgresUnitOfWork.cs │ └── Repositories │ │ ├── InMemoryWeeklyParkingSpotRepository.cs │ │ ├── PostgresUserRepository.cs │ │ └── PostgresWeeklyParkingSpotRepository.cs │ ├── Exceptions │ └── ExceptionMiddleware.cs │ ├── Extensions.cs │ ├── Logging │ ├── Decorators │ │ └── LoggingCommandHandlerDecorator.cs │ └── Extensions.cs │ ├── MySpot.Infrastructure.csproj │ ├── Security │ ├── Extensions.cs │ └── PasswordManager.cs │ └── Time │ └── Clock.cs └── tests ├── MySpot.Tests.Integration ├── Controllers │ ├── ControllerTests.cs │ ├── HomeControllerTests.cs │ └── UsersControllerTests.cs ├── MySpot.Tests.Integration.csproj ├── MySpotTestApp.cs ├── OptionsProvider.cs ├── TestDatabase.cs └── TestUserRepository.cs └── MySpot.Tests.Unit ├── Entities └── WeeklyParkingSpotTests.cs └── MySpot.Tests.Unit.csproj /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/.gitignore -------------------------------------------------------------------------------- /MySpot.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/MySpot.http -------------------------------------------------------------------------------- /MySpot.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/MySpot.sln -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /src/MySpot.Api/Controllers/HomeController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/Controllers/HomeController.cs -------------------------------------------------------------------------------- /src/MySpot.Api/Controllers/ParkingSpotsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/Controllers/ParkingSpotsController.cs -------------------------------------------------------------------------------- /src/MySpot.Api/Controllers/ReservationsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/Controllers/ReservationsController.cs -------------------------------------------------------------------------------- /src/MySpot.Api/Controllers/UsersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/Controllers/UsersController.cs -------------------------------------------------------------------------------- /src/MySpot.Api/MySpot.Api.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/MySpot.Api.csproj -------------------------------------------------------------------------------- /src/MySpot.Api/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/Program.cs -------------------------------------------------------------------------------- /src/MySpot.Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/MySpot.Api/UsersApi.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/UsersApi.cs -------------------------------------------------------------------------------- /src/MySpot.Api/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/appsettings.Development.json -------------------------------------------------------------------------------- /src/MySpot.Api/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/appsettings.json -------------------------------------------------------------------------------- /src/MySpot.Api/appsettings.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Api/appsettings.test.json -------------------------------------------------------------------------------- /src/MySpot.Application/Abstractions/ICommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Abstractions/ICommand.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Abstractions/ICommandHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Abstractions/ICommandHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Abstractions/IQuery.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Abstractions/IQuery.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Abstractions/IQueryHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Abstractions/IQueryHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/ChangeReservationLicencePlate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/ChangeReservationLicencePlate.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/DeleteReservation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/DeleteReservation.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/Handlers/ChangeReservationLicencePlateHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/Handlers/ChangeReservationLicencePlateHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/Handlers/DeleteReservationHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/Handlers/DeleteReservationHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/Handlers/ReserveParkingSpotForCleaningHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/Handlers/ReserveParkingSpotForCleaningHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/Handlers/ReserveParkingSpotForVehicleHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/Handlers/ReserveParkingSpotForVehicleHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/Handlers/SignInHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/Handlers/SignInHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/Handlers/SignUpHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/Handlers/SignUpHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/ReserveParkingSpotForCleaning.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/ReserveParkingSpotForCleaning.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/ReserveParkingSpotForVehicle.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/ReserveParkingSpotForVehicle.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/SignIn.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/SignIn.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Commands/SignUp.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Commands/SignUp.cs -------------------------------------------------------------------------------- /src/MySpot.Application/DTO/JwtDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/DTO/JwtDto.cs -------------------------------------------------------------------------------- /src/MySpot.Application/DTO/ReservationDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/DTO/ReservationDto.cs -------------------------------------------------------------------------------- /src/MySpot.Application/DTO/UserDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/DTO/UserDto.cs -------------------------------------------------------------------------------- /src/MySpot.Application/DTO/WeeklyParkingSpotDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/DTO/WeeklyParkingSpotDto.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Exceptions/EmailAlreadyInUseException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Exceptions/EmailAlreadyInUseException.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Exceptions/InvalidCredentialsException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Exceptions/InvalidCredentialsException.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Exceptions/ReservationNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Exceptions/ReservationNotFoundException.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Exceptions/UserNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Exceptions/UserNotFoundException.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Exceptions/UsernameAlreadyInUseException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Exceptions/UsernameAlreadyInUseException.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Exceptions/WeeklyParkingSpotNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Exceptions/WeeklyParkingSpotNotFoundException.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Extensions.cs -------------------------------------------------------------------------------- /src/MySpot.Application/MySpot.Application.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/MySpot.Application.csproj -------------------------------------------------------------------------------- /src/MySpot.Application/Queries/GetUser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Queries/GetUser.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Queries/GetUsers.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Queries/GetUsers.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Queries/GetWeeklyParkingSpots.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Queries/GetWeeklyParkingSpots.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Security/IAuthenticator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Security/IAuthenticator.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Security/IPasswordManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Security/IPasswordManager.cs -------------------------------------------------------------------------------- /src/MySpot.Application/Security/ITokenStorage.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Application/Security/ITokenStorage.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Abstractions/IClock.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Abstractions/IClock.cs -------------------------------------------------------------------------------- /src/MySpot.Core/DomainServices/IParkingReservationService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/DomainServices/IParkingReservationService.cs -------------------------------------------------------------------------------- /src/MySpot.Core/DomainServices/ParkingReservationService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/DomainServices/ParkingReservationService.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Entities/CleaningReservation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Entities/CleaningReservation.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Entities/Reservation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Entities/Reservation.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Entities/User.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Entities/User.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Entities/VehicleReservation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Entities/VehicleReservation.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Entities/WeeklyParkingSpot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Entities/WeeklyParkingSpot.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/CannotReserveParkingSpotException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/CannotReserveParkingSpotException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/CustomException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/CustomException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidCapacityException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidCapacityException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidEmailException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidEmailException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidEmployeeNameException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidEmployeeNameException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidEntityIdException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidEntityIdException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidFullNameException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidFullNameException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidLicencePlateException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidLicencePlateException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidParkingSpotNameException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidParkingSpotNameException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidPasswordException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidPasswordException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidReservationDateException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidReservationDateException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidRoleException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidRoleException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/InvalidUsernameException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/InvalidUsernameException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/NoReservationPolicyFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/NoReservationPolicyFoundException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/ParkingSpotAlreadyReservedException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/ParkingSpotAlreadyReservedException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Exceptions/ParkingSpotCapacityExceededException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Exceptions/ParkingSpotCapacityExceededException.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Extensions.cs -------------------------------------------------------------------------------- /src/MySpot.Core/MySpot.Core.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/MySpot.Core.csproj -------------------------------------------------------------------------------- /src/MySpot.Core/Policies/BossReservationPolicy.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Policies/BossReservationPolicy.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Policies/IReservationPolicy.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Policies/IReservationPolicy.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Policies/ManagerReservationPolicy.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Policies/ManagerReservationPolicy.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Policies/RegularEmployeeReservationPolicy.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Policies/RegularEmployeeReservationPolicy.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Repositories/IUserRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Repositories/IUserRepository.cs -------------------------------------------------------------------------------- /src/MySpot.Core/Repositories/IWeeklyParkingSpotRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/Repositories/IWeeklyParkingSpotRepository.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/Capacity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/Capacity.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/Date.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/Date.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/Email.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/Email.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/EmployeeName.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/EmployeeName.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/FullName.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/FullName.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/JobTitle.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/JobTitle.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/LicencePlate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/LicencePlate.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/ParkingSpotId.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/ParkingSpotId.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/ParkingSpotName.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/ParkingSpotName.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/Password.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/Password.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/ReservationId.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/ReservationId.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/Role.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/Role.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/UserId.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/UserId.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/Username.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/Username.cs -------------------------------------------------------------------------------- /src/MySpot.Core/ValueObjects/Week.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Core/ValueObjects/Week.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/AppOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/AppOptions.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Auth/AuthOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Auth/AuthOptions.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Auth/Authenticator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Auth/Authenticator.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Auth/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Auth/Extensions.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Auth/HttpContextTokenStorage.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Auth/HttpContextTokenStorage.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Configurations/CleaningReservationConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Configurations/CleaningReservationConfiguration.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Configurations/ReservationConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Configurations/ReservationConfiguration.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Configurations/UserConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Configurations/UserConfiguration.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Configurations/VehicleReservationConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Configurations/VehicleReservationConfiguration.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Configurations/WeeklyParkingSpotConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Configurations/WeeklyParkingSpotConfiguration.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/DatabaseInitializer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/DatabaseInitializer.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Decorators/UnitOfWorkCommandHandlerDecorator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Decorators/UnitOfWorkCommandHandlerDecorator.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Extensions.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Handlers/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Handlers/Extensions.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Handlers/GetUserHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Handlers/GetUserHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Handlers/GetUsersHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Handlers/GetUsersHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Handlers/GetWeeklyParkingSpotsHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Handlers/GetWeeklyParkingSpotsHandler.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/IUnitOfWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/IUnitOfWork.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Migrations/20220226133911_Init.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Migrations/20220226133911_Init.Designer.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Migrations/20220226133911_Init.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Migrations/20220226133911_Init.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Migrations/20220326125618_Cleaning_Reservation.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Migrations/20220326125618_Cleaning_Reservation.Designer.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Migrations/20220326125618_Cleaning_Reservation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Migrations/20220326125618_Cleaning_Reservation.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Migrations/20220326142605_Introducing_Capacity.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Migrations/20220326142605_Introducing_Capacity.Designer.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Migrations/20220326142605_Introducing_Capacity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Migrations/20220326142605_Introducing_Capacity.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Migrations/20220402180304_Users.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Migrations/20220402180304_Users.Designer.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Migrations/20220402180304_Users.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Migrations/20220402180304_Users.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Migrations/MySpotDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Migrations/MySpotDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/MySpotDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/MySpotDbContext.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/PostgresOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/PostgresOptions.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/PostgresUnitOfWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/PostgresUnitOfWork.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Repositories/InMemoryWeeklyParkingSpotRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Repositories/InMemoryWeeklyParkingSpotRepository.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Repositories/PostgresUserRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Repositories/PostgresUserRepository.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/DAL/Repositories/PostgresWeeklyParkingSpotRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/DAL/Repositories/PostgresWeeklyParkingSpotRepository.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Exceptions/ExceptionMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Exceptions/ExceptionMiddleware.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Extensions.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Logging/Decorators/LoggingCommandHandlerDecorator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Logging/Decorators/LoggingCommandHandlerDecorator.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Logging/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Logging/Extensions.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/MySpot.Infrastructure.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/MySpot.Infrastructure.csproj -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Security/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Security/Extensions.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Security/PasswordManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Security/PasswordManager.cs -------------------------------------------------------------------------------- /src/MySpot.Infrastructure/Time/Clock.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/src/MySpot.Infrastructure/Time/Clock.cs -------------------------------------------------------------------------------- /tests/MySpot.Tests.Integration/Controllers/ControllerTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/tests/MySpot.Tests.Integration/Controllers/ControllerTests.cs -------------------------------------------------------------------------------- /tests/MySpot.Tests.Integration/Controllers/HomeControllerTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/tests/MySpot.Tests.Integration/Controllers/HomeControllerTests.cs -------------------------------------------------------------------------------- /tests/MySpot.Tests.Integration/Controllers/UsersControllerTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/tests/MySpot.Tests.Integration/Controllers/UsersControllerTests.cs -------------------------------------------------------------------------------- /tests/MySpot.Tests.Integration/MySpot.Tests.Integration.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/tests/MySpot.Tests.Integration/MySpot.Tests.Integration.csproj -------------------------------------------------------------------------------- /tests/MySpot.Tests.Integration/MySpotTestApp.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/tests/MySpot.Tests.Integration/MySpotTestApp.cs -------------------------------------------------------------------------------- /tests/MySpot.Tests.Integration/OptionsProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/tests/MySpot.Tests.Integration/OptionsProvider.cs -------------------------------------------------------------------------------- /tests/MySpot.Tests.Integration/TestDatabase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/tests/MySpot.Tests.Integration/TestDatabase.cs -------------------------------------------------------------------------------- /tests/MySpot.Tests.Integration/TestUserRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/tests/MySpot.Tests.Integration/TestUserRepository.cs -------------------------------------------------------------------------------- /tests/MySpot.Tests.Unit/Entities/WeeklyParkingSpotTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/tests/MySpot.Tests.Unit/Entities/WeeklyParkingSpotTests.cs -------------------------------------------------------------------------------- /tests/MySpot.Tests.Unit/MySpot.Tests.Unit.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/MySpot/HEAD/tests/MySpot.Tests.Unit/MySpot.Tests.Unit.csproj --------------------------------------------------------------------------------