Skip to content
Keviv edited this page Sep 14, 2021 · 1 revision

Welcome to the Sports Facility Manager wiki!

About:

The project is a booking system for a Sports centre with multiple facilities.

Details:

The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be supplied in order to achieve the full functional capacity of the app. Please fill in the sections in the appsettings.json with your personal keys. The application will still work if not supplied with valid API keys but with limited functionality. Email sending will be disabled and adding rooms will be impossible without images uploaded to Cloudinary. An admin account is seeded with login credentials Admin for username and AdminPass for password

Version:

This is a very early version of the system, with a Minimum viable product available. As we progress will update the code with updated releases. Tip: My apologies if some of the code parts are not working as expected.

Project:

Data Layer

Code First database approach MSSQL Server Database Entity Framework Core Migrations Automated data seeding on database creation

Service Layer

AutoMapper Data services handling database access and the logic of the application External services SendGrid -> Email sending Cloudinary -> Uploading and storing application images in the cloud Common logic separated in extension methods public static IEnumerable<T> GetPageItems<T>(this IEnumerable<T> items, int page, int elementsOnPage) { return items.Skip(elementsOnPage * (page - 1)).Take(elementsOnPage).ToList(); }

Presentation Layer

ASP.NET 5 InMemory Cache GDPR compatible Bundling and minification, client-side libraries restoration Pagination & search implemented Data validation Responsive design

Clone this wiki locally