This frontend can serve as a reference implementation for how to interact with the DocDocGo API. It can also be used to test the API.
See the instructions in the backend README to start the backend server.
Use your favorite way to clone the repository and cd into the directory. Then install the dependencies:
npm install
Copy the .env.example
file to .env
and fill in the values as described in the file.
npm run dev
Open http://localhost:3000 with your browser. Double check that the app shows the correct backend URL on the home page. If not, then you can manually change the URL in the input field.
Optionally fill in the other fields and click the "Start Chat" button.
To test the connection to the backend without sending a request to the LLM, you can enter the command:
/help