[Partner Dashboard]

[08/24/2025]

Problem Statement

The partner dashboard will give owners, managers, and approved staff access to financial metrics, restaurant information and general food fight statistics. It will also allow these users to change menu items, promos, and restaurant profile attributes.

Proposed Solution

This will use it’s own lambda function to host a number of different fastAPI endpoints. These will be split up based on page. E.g. dashboard routes/service, menu routes/service, profile routes/service, ect. It will also be a different route in the main app with/partner access permissions.

Architectural & Technical Details

This is updating the menu items table to include a description column. I also made a partner-restaurant table that matches UUID’s to restaurant ID”s and can be checked to verify access to specific restuarants by a user. This will be used in parallel with cognito user pool user groups. I will create a partner group which can be checked to see if a user is authorized to visit the dashboard pages. This will occur alongside the auth context already set up for the app.

Next Steps

I just submitted a PR for the partner dashboard main, menu and profile routes. I’ll add the new DB column and check that the partner-restaurant table is created correctly. Then I will test the endpoints on postman. After that is working I will make sure the front end is working (it is almost entirely developed for all three pages). Then I will create a PR and get the front end on .pro.

At a larger scale, I plan to tackle the finance and offers pages next. First I’ll figure out what design decisions need to be made on the backend to get these pages running smoothly. This means clarifying any confusion on the FIGMA design. Then I will implement the backend endpoints, write tests for them locally, get those changes in a PR and test them on post man. I will then start working through the front end development to mirror the FIGMA designs

Action Items

PR for backend could use a review. CDK changes for user pools needs to be discussed in more depth. The cdk diff showed more changes than expected and I think this is due to cognito mostly being created in console.

Open Questions

I think this makes sense. I am very open to any other ideas/discussions on how to handle authentication and the cdk changes.

Approvals

You need architectural approval from Trace Carrasco & product approval from Filip Pacyna / Troy Lenihan

  • Trace Carrasco
  • Filip Pacyna/Troy Lenihan