Frontend quickstart guide

This is the quick start guide for setting up and running the frontend locally.

Prerequisites

Follow the general setup guide to set up ov.

Starting up

  1. Install additional Node.js dependencies. You do not need to install any Python dependencies to run the frontend.

    ov just node-install
    
  2. To bring up the frontend, we have another just recipe. We have just recipes for almost everything.

    ov just frontend/run dev
    

    If you want your frontend to use a different API instance, you can set the API_URL environment variable to point to that instance. If you had the API running locally, you can do the following to use the local API with the frontend.

    ov env API_URL="http://localhost:50280" just frontend/run dev
    

    Now you should be able to access the following endpoints:

Shutting down

You can press Ctrl + C to terminate the frontend process.