everydotorg / donate-button

A free donate and p2p fundraising button so nonprofit websites can accept cryptocurrency, stocks, and cash - credit, debit, bank, PayPal, Venmo, Apple Pay, Google Pay.
https://www.every.org
MIT License
47 stars 7 forks source link

Make an embeddable nonprofit search component #128

Open osdiab opened 3 years ago

osdiab commented 3 years ago

We already have our Partner Search API working that allows for searching any nonprofit, powered by Constructor. We can make it super simple to use it by having an embeddable/npm-installable component that consumes it. https://www.notion.so/everydotorg/Partner-API-731e285581dc47efbe306c59c139d528

osdiab commented 3 years ago

cc @markulrich @rahulgi @wednesdave

martinbianchi commented 3 years ago

@osdiab Should we expose this component along with the Donation button and the widget? Or should we create a new package inside the repo?

martinbianchi commented 3 years ago

Also, should we follow some design guideline for this one? and which would be the final goal, I mean after the user searches and select a non-profit, what should happen? And finally, would be great to have an api-key to test it while we develop the component

osdiab commented 3 years ago

Yep, I’m thinking these embeds could happen as sub packages here, using the same basic tech that the donate button does. Let’s hold off on actually implementing it until we set some designs for how it ought to look and spec it out a bit more, though, but should be ready to go soon. I’ll also give you a testing key shortly.