Skip to content

ZinHoang/exploring-APIs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploring APIs !

Let's explore the world of APIs and choose your own adventure.

Existing APIs and components serve as examples for you. Feel free to remove or replace them with your APIs of interest.

Setup

Cloning and installation

  • Clone this repo, navigate to it, install packages, and start the server with npm run dev

    Tip
    cd exploring-APIs
    npm i
    npm run dev

Choosing an API

  • Choose an API to work with

    Tips
    • If you choose an API that enforces CORS, you'll need to consume that API from your server-side, and consume your own API from the client-side (i.e. using your server as a proxy).
    • If you choose an API that requires a key or other authentication token, you will need to create a .env (to keep your key hidden from git).

API Suggestions

If you're not sure where to start, you can use one of the APIs listed below.

Simple APIs (no API key required or CORS restrictions)

APIs with CORS restrictions (serverside proxy required)

API key required (.env file)

API Collections
  • https://api.nasa.gov: a library of APIs from NASA (picture of the day, natural event tracker, etc.)
  • https://github.com/public-apis/public-apis: a LOT of APIs (inaccurate in places, use this to help start your search but you'll have to investigate the APIs themselves, and please note that a few of them may have triggering or NSFW content, so please proceed with care)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published