-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi @artoonie, really great stuff.
Are you open to this additional new proposed interface to create a RCV visualization?
Currently:
- Create account
- Email for API key
- POST election data to create new visualization
- Share URL to new visualization [on load the front end downloads the stored data from the DB]
Proposed:
- Stick all the election data into URL parameters and just directly link to that. [on load the front end grabs the election data from the URL params]
That's it.
Pros:
- Much quicker for others to start using. Eliminates current steps 1 and 2, and merges 3 and 4.
- Potentially less DB/infra costs for you, because the data no longer needs to be stored / retrieved from DB.
Similar Examples:
- https://goqr.me/api/ - "Call the URL https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=Example to get a QR code with the content "Example""
- https://numbr.dev — Really cool notepad w/ built in math functions and variables. All note data gets base64 encoded and then stuck in the URL, so no DB needed at all.
Metadata
Metadata
Assignees
Labels
No labels