Skip to content

petelampy/FutureFridges

Repository files navigation

Future Fridges

This is the source code repository for the Future Fridges application that was developed for SOFT30121: Advanced Analysis & Design as part of the BSc Software Engineering Degree.

Code Architecture

The source code is broken down into 3 layer: Web, Business and Data. Each of these have their own purpose outlined below.

Web

This layer consists of the majority of the plain Razor Pages and HTML content (eg. .cshtml, .cshtml.cs). These will be the content visible to the end user and the actions being performed at the highest level. This will all be under the "Pages" Folder within the project.

Business

This layer is the layer performing the actual calculations, verifications, retrieval, etc. It essentially performs the "heavy lifting" of the codebase. This layer will main consist of .cs files and will be kept under the "Business" folder (with subfolders for each category such as StockManagement).

Data

This layer is the layer responsible for interfacing with the database, such as making the actual database connection and retrieving the data, as well as converting it to appropriate business classes. These will also mainly consist of .cs files and will be stored under the "Data" folder (with appropriate subfolders as mentioned above)

Variable Naming

To ensure we were consistent throughout the work on this codebase we followed these variable naming conventions:

Local Variables

Local variables (variables within a particular method, etc) will be TitleCase and begin with a single underscore

image

Class Variables

Class variables (variables defined at the top of a class) will be TitleCase and begin with two underscores

image

Function/Method Parameters

Parameters for methods/functions will be camelCase

image

Constants

Constants will be capitalised, with an underscore between words

image

Screenshots

Initial User Login Page

image

Welcome Screen

image

Main Menu with all available options

image

Taking stock from the fridge

image

Adding stock to the fridge

image

Managing Products

image

Managing Users

image

User Creation Email

image

User Permissions Management

image

Creating an order

image

Stock Audit Log Page

image

Stock Notifications System

image

About

A C# .NET Razor Pages Application developed as part of my degree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors