This project is meant to be used with Gloo Platform API Portals. It may be used as a standalone API dev portal interface, or as a template.
Paste the following into a terminal to get started. Node 16+ is required. In this code snippet, tmplr is used to download and initialize the latest commit of this repository's main branch, and yarn is used as the package manager.
mkdir portal-test && cd portal-test && npx tmplr charlesthebird/portal-test#main && yarn && open http://localhost:4000 && yarn run dev
- This project was created with Vite, and configured to use React and TypeScript.
- Stoplight Elements is used for the API details page.
- The web component is used here in place of the React component, since the React component had dependency issues.
- The styles are extended with Sass.