SSWConsulting / TimesheetGPT

Make timesheets easy! Use data from Microsoft Graph to generate a summary
https://timesheet-gpt.azurewebsites.net/
MIT License
21 stars 2 forks source link

♻️ Refactor to a WebAPI + WebUI project with a Host or Gateway project #22

Closed Hona closed 1 year ago

Hona commented 1 year ago

Right now Blazor Server UI talks to Application layer. Goal is to have UI and endpoints separate so other clients can be easily implemented.

Split the endpoint code Split the UI code

Host in 1 app service


%%{
  init: {
    'theme': 'base',
    'themeVariables': {
      'primaryColor': '#CC4141',
      'primaryTextColor': '#fff',
      'lineColor': '#CC4141',
      'secondaryColor': '#AAAAAA',
      'tertiaryColor': '#797979',
      'noteBkgColor': '#333333',
      'noteTextColor': '#fff',
      'sequenceNumberColor': '#333333'
    }
  }
}%%

graph TD;
    TimesheetGPT.Gateway-->TimesheetGPT.UI;
    TimesheetGPT.Gateway-->TimesheetGPT.WebAPI;

TimesheetGPT.UI-->TimesheetGPT.Core;
TimesheetGPT.WebAPI-->TimesheetGPT.Core;
bradystroud commented 1 year ago

related to #3

bradystroud commented 1 year ago

This is done

52

Image