Exifly / ApiVault

Your gateway to a world of public APIs.
https://apivault.dev
Other
435 stars 39 forks source link

Implement a "load more" button in the random APIs page #147

Closed FlavioAdamo closed 1 year ago

FlavioAdamo commented 1 year ago

Is your feature request related to a problem? Please describe.

As a user of the website, I would like to be able to see more than just 9 random APIs on the homepage. It would be helpful to have a "load more" button at the bottom of the page that, when clicked, would add 9 new random APIs to the list.

Describe the solution you'd like

I would like to see a "load more" button at the bottom of the APIVAULT homepage. When clicked, this button would use the endpoint in randomApis.js to dynamically load 9 new random APIs and add them to the bottom of the existing list. The button would continue to load additional APIs as long as they are available.

To use the local server your .env file in the frontend folder should look like this:

VITE_APP_MODE=dev
VITE_API_VAULT_ENDPOINT=http://localhost:5001

The functon to call the api you need is getApiData inside randomApis.js.

If you need more information feel free to ping me on this issue

et-c commented 1 year ago

I'd like to work on this issue

FlavioAdamo commented 1 year ago

@et-c Sure, happy coding! If you need help feel free to reach me!

gdjohn4s commented 1 year ago

sure! thanks