rewrite the function to get the attendies of an event #2

Closed
opened 2024-02-22 21:07:16 +00:00 by Nikurasu · 2 comments
Owner

Currently the api works by by quering pretix everitime someone requests the attendies. To query pretix less often I'm going to rewrite that function in that manner:

  1. Someone regs, edits their registration or cancels their reg
  2. Pretix sends a POST-Request to an Webhook endpoint of this API
  3. My api queries pretix for the currently registered attendies
  4. My api saves them in a seperate database
  5. If someone requests the attendies this tool only has to query it's own database
Currently the api works by by quering pretix everitime someone requests the attendies. To query pretix less often I'm going to rewrite that function in that manner: 1. Someone regs, edits their registration or cancels their reg 2. Pretix sends a POST-Request to an Webhook endpoint of this API 3. My api queries pretix for the currently registered attendies 4. My api saves them in a seperate database 5. If someone requests the attendies this tool only has to query it's own database
Nikurasu self-assigned this 2024-02-22 21:07:16 +00:00
Nikurasu added this to the uf-api todos project 2024-02-22 21:07:16 +00:00
Author
Owner

By now I have done most of the rewriting, the only things missing are:

  • The finished GetAttendiesFromPretixJson Function, I have to add a participationRestaurant to the Db_Attendies entity
  • A connection to a frontend. To make it quick and dirty I choose google docs for now, but for the future I'll build some little frontend, maybe with VueJS or with Elm if I want to do it fancy
By now I have done most of the rewriting, the only things missing are: - The finished GetAttendiesFromPretixJson Function, I have to add a participationRestaurant to the Db_Attendies entity - A connection to a frontend. To make it quick and dirty I choose google docs for now, but for the future I'll build some little frontend, maybe with VueJS or with Elm if I want to do it fancy
Author
Owner

The GetAttendiesFromPretixJson function is finished now. And uh for the frontend I maybe make something that renders it on the server side in this application. A complete new frontend project is out of scope for this weekend

The GetAttendiesFromPretixJson function is finished now. And uh for the frontend I maybe make something that renders it on the server side in this application. A complete new frontend project is out of scope for this weekend
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Nikurasu/pretix-proxy#2
No description provided.