Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Case 2: No frontend. Only Backend #50

Open
joncodo opened this issue Feb 21, 2023 · 2 comments
Open

Use Case 2: No frontend. Only Backend #50

joncodo opened this issue Feb 21, 2023 · 2 comments
Assignees

Comments

@joncodo
Copy link
Contributor

joncodo commented Feb 21, 2023

From @seanspeaks

One other new "Use Case" to call out/carve out into either this repo or the core or the docs: To actually integrate Frigg into your application well, I've settled on a default approach of having all Management API requests expect x-Frigg-appUserId and x-Frigg-appOrgId headers, which invokes the loadUserManager middleware, which finds or creates the provided users by corresponding ID. "App" in this case is "your app".

@joncodo
Copy link
Contributor Author

joncodo commented Feb 21, 2023

From @seanspeaks

I like the idea of optional frontend install. The hope/goal is that you need some sort of frontend to understand how the app works and how you might incorporate into your existing application, but that it would likely be a throwaway part of the code. The other important part (not mentioned here yet) is that we have frontend needs for integrations where you're allowed to call in an iFrame or html/js/css code (bring-your-own-framework, just point to a valid URL) (Front, Zendesk, HubSpot's "Advanced IFRAME actions", Salesforce, etc.). Those aren't needed for any "getting started", but it's a nice option to have UI's dedicated to integrations be managed in the same place that the backend/business logic is managed.

@joncodo joncodo self-assigned this Feb 21, 2023
@joncodo
Copy link
Contributor Author

joncodo commented Feb 27, 2023

So the install will ask you if you want to install the front end. This is low priority since users can just delete the frontend folder when they want to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant