Skip to content

Mensa Gymnazium 2023/2025 Years work - mujprimirest wrapper E2E app

Notifications You must be signed in to change notification settings

Xopabyteh/Seminary_PrimirestSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finally food ordering with images


About

The project acts as a wrapper application around the Primirest system + with additional features. The main bonus is the ability of users of this application to take photos of their ordered foods so that everyone else ordering it can see it.

The project is split into two parts - a custom backend wrapper api and a frontend Maui app.

This is my Seminary work for mensa gymnázium Sexta 2023 - Septima 2025. The project is built with clean architecture and some DDD concepts in mind. But i am the only one working on the project... so i'm just using the code portions of DDD.

Features

  • Ordering through primirest 🥓
  • User published photos 📷
  • Notifications when you forgot to order 📩
  • Food aliasing for photo reusability ♻
  • Slick client app 🔥
  • Dark mode 🌝

Disclaimer 🫂

This application is a student project and is not affiliated with Primirest, Delirest, or any other companies in their network.

Systems designed in this project operate entirely separately from the official Primirest system and do not integrate with or alter the original platform's backend processes.

This application is provided free of charge and is intended solely for educational and personal use. It is non-commercial, meaning it generates no profit and is not sold, distributed, or promoted via any commercial channels, including app stores or other retail platforms. Users should be aware that, as a personal project, the app may contain bugs or incomplete features, and support is limited to the developer's availability and capacity.

By using this application, you acknowledge and accept that it is provided "as-is" without any warranties or guarantees of any kind. The developer disclaims all liability for any damages or losses that may arise from the use of this app. Users are encouraged to report any issues or provide feedback to help improve the application, but there are no obligations or commitments from the developer to implement such changes or provide ongoing support.

Docs

Most of the docs are made with figma available at the links below. Some docs can be found in project folders specific to that layer of the application.

UI and app design

Project architecture, domain models, implementations

Process modeling, domain events storming

Running the Backend

Dependencies & User secrets

Parameters that are used by the app are all defined in the appsettings.json where it also states which portions are set using user secrets (or Azure keyvault or whatever)

User secrets should look like this

  "Persistence:AzureStorageConnectionString:blob": "Connection string",
  "Persistence:DbConnectionString": "MS SQL Server Connection string",

  //These refer to a Primirest account used to store foods from Primirest to P#
  "PrimirestAuthentication:AdminPassword": "Password to your primirest account",
  "PrimirestAuthentication:AdminUsername": "Name of your primirest account"

  "NotificationHub:FullAccessConnectionString": "Connection string"
  "ConnectionStrings:ApplicationInsights": "Connection string"
Azure storage

In the Azure storage account there must be a Blob container called food-photos. The app will create the container if not present on startup.

For local development i am locally hosting an Azure storage image inside of docker.

Cmd

$ dotnet run --project ~PathToPresentationProject~\Yearly.Presentation.csproj --launch-profile https

About

Mensa Gymnazium 2023/2025 Years work - mujprimirest wrapper E2E app

Resources

Stars

Watchers

Forks

Packages

No packages published