Skip to content

Latest commit

 

History

History
 
 

publish-install-api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Publish & Consume APIs from WunderHub

WunderHub is the The Package Manager for APIs.

Search APIs and integrate them into your WunderGraph Application with a single command. The best way for API providers to get their APIs into the hands of developers.

💻 Getting started

Install the workspace

npm install

Consume APIs from the Hub

  1. Install all API dependencies in wundergraph.manifest.json:
npm run wunderctl
  1. Start your WunderGraph server
npm run start
  1. Fetch dragons and weather data:
curl -X GET http://localhost:9991/app/main/operations/DragonsAndWeather

Note: 🎓 For a more detailed example, see WunderHub Start.

Publish your API

Note: You need a WunderHub account to publish APIs.

  1. Login to WunderHub npm run wunderctl login.
  2. Modify the .wundergraph/wundergraph.config.ts with your Organization, API information.
  3. Generate your API:
npm run generate
  1. Publish your API to the WunderHub:
npm run wunderctl publish <organization/api>

🚀 After few minutes, your API will be available on the WunderHub Catalog.

Learn More

Read the Docs.

Got Questions?

Join us on Discord!