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

Architecture For AHBesser #137

Open
hf-krechan opened this issue Apr 4, 2024 · 0 comments
Open

Architecture For AHBesser #137

hf-krechan opened this issue Apr 4, 2024 · 0 comments

Comments

@hf-krechan
Copy link
Contributor

hf-krechan commented Apr 4, 2024

This issue contains just the ideas about the architecture discussion between @ohenning, @TommyBom and me.

Goals

  • easy to maintain service
  • backend and frontend should be in one repository
  • the application should run in a container
  • the backend will deliver the AHB json files for the frontend

Frameworks / Approaches

  • we want to use tailwind css
  • we use express server as backend (so we only use one language typescript)
  • we will write an openapi.yml and derive code for backend and frontend from

Future Improvements

In the first approach we will add all AHB json files into the Dockerfile itself.
So to update the AHBs we need to deploy the service every time.

In the future we could use a blob storage (like a S3 bucket) to load the json files.
This would make it easier to update them.
Another idea would be to load them directly from the repo http://github.com/Hochfrequenz/machine-readable_anwendungshandbuecher/.

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

No branches or pull requests

1 participant