This project offers a sample marketplace frontend application for Apigee to offer publishing & subscription user flows for data, AI & API products. This is only a demo to show what is possible using the Headless API Distribution engine in Apigee (supporting any type of frontend framework). In this case the marketplace app uses SvelteKit as the frontend framework.
.1.env.PROJECT_ID.sh
file.# clone repo and init project, creates .1.env.YOUR_PROJECT_ID.sh
`./.0.init.sh YOUR_PROJECT_ID`
# EDIT .1.env.YOUR_PROJECT_ID.sh and set variables. Set INTENRAL_DOMAINS to the domains of users who should be considered internal, add your email account as ADMIN_EMAIL.
# set env variables file (change PROJECT_ID to your project id)
source .1.env.YOUR_PROJECT_ID.sh
# run 2_create_resources.sh to create resources like a storage bucket and Apigee KVMs
./.2.create.resources.sh
# deploy Apigee APIs and App. Integration flows
./.3.deploy_apis.sh
# deploy Cloud Run service
./.4.deploy.service.sh
# run import data to setup Firebase db
./.5.import.data.sh
# OPTIONAL - update API Hub with some nice test data for teams, tags, etc..
./.6.update.apihub.sh
# start client
npm run dev
After deploying and running you can open the dev version in your browser at http://localhost:5173.
This is not an officially supported Google product.