Rebuild-Black-Business / RBB-Website

Website to help connect black-owned businesses with consumers and resources
https://www.rebuildblackbusiness.com/
MIT License
119 stars 72 forks source link

[Feature] Create "Fundraisers" page #289

Closed magnificode closed 4 years ago

magnificode commented 4 years ago

Prerequisites

Figma Designs: https://www.figma.com/file/Lo1ZcBOO9t4QRbX2I0PwBQ/RBB?node-id=2008%3A105

User Story

As a user I want to view a page that only shows fundraisers so I can quickly view ways to support black owned business

Acceptance Criteria

Describe the solution you'd like

We want to highlight businesses in need without them getting lost in the entire business directory. Separating Businesses with a "Donate" link from the main business listing page should help with this.

Mhmdabed11 commented 4 years ago

I can start on this issue if nothing is on hold!

magnificode commented 4 years ago

@Mhmdabed11 that would be excellent, thank you so much!

Mhmdabed11 commented 4 years ago

@magnificode image I have a list of questions regarding this issue:

elchris commented 4 years ago

Please don’t query AirTable directly, use our REST API for this:

https://api.rebuildblackbusiness.com/

Use the “Find Businesses” GET endpoint:

https://api.rbb-api.com/api/v1/businesses?in-need=true

And be sure to pass the x-api-key header whose value should come from a local .env file , which in your dev environment can be your personal api key from the portal and in production will be automatically replaced with our production key. You can see the code example from the main “See Businesses” site.

Mhmdabed11 commented 4 years ago

Okay @elchris thank you for your input !!

magnificode commented 4 years ago

Merged in #321