Web Application
Two web applications accompany the classifier’s API: a dashboard, where users create API keys and choose settings, and an API reference site with a form for trying the API. Both are React applications in the classifier repository. The dashboard is titled “Tabiya Classifier” and the API reference site “Tabiya Classifier API.”
Dashboard
Section titled “Dashboard”The dashboard is in the app/ directory. Users sign in with an email address and a password through Firebase Authentication. The dashboard has three pages:
- Dashboard: the start page, with links to the two other pages.
- API Keys: create a key with a label, see the existing keys, and revoke a key. The page shows a new key once, when it is created.
- Configuration: choose the taxonomy model and the linking model for requests to version 2 of the API (
/v2/). The list of taxonomy models comes from the Open Taxonomy Platform.
Requests to the classification endpoints send the API key in the x-api-key header.
API Reference Site
Section titled “API Reference Site”The API reference site is in the docs/ directory. It has four pages:
- Overview: the steps of the pipeline and the base address of the API.
- Authentication: how to send the API key, and the error responses.
- Endpoints: the request and the response of each endpoint.
- Try it now: a form that sends a job description to
POST /v1/classify.
Each API service also serves an interactive API reference (Swagger UI) that is generated from its code. On a running Classify service it is at /docs.
Example Usage
Section titled “Example Usage”- Open the “Try it now” page of the API reference site.
- Enter your API key and the base address of the API.
- Paste a job description into the text area.
- Click the “Run request” button to send the job description to the
/v1/classifyendpoint. - View the results under “Response.” They are shown as JSON. Getting Started describes the fields.
Running the Applications Locally
Section titled “Running the Applications Locally”Both applications are built with Vite and use Yarn. Run these commands in the app/ directory for the dashboard, or in the docs/ directory for the API reference site:
yarn installyarn devThe dashboard needs the settings of a Firebase project and the address of the Classify service. Copy app/.env.example to app/.env.local and fill in the values. The Configuration page calls version 2 of the linking service, which the Compose file described in Getting Started does not start. The API Keys page also needs a deployment on Google Cloud: the service creates each key as a Google Cloud API key, and the API gateway checks it.
Deployment
Section titled “Deployment”The repository includes the code for a deployment on Google Cloud. The API services run on Cloud Run behind an API gateway. The gateway checks API keys for the classification endpoints and Firebase sign-in tokens for the dashboard endpoints. The two web applications are served as static sites. ARCHITECTURE.md describes the setup, and iac/README.md explains how to deploy it with Pulumi.
This page lists no addresses of hosted instances. For questions about access to a hosted instance, write to hi@tabiya.org.

