This pull request introduces a React-based UI for interacting with the TARS APIs, fulfilling the request to add a React front-end to the repository. The changes include:
README.md Update: Adds instructions for setting up and running the new React UI, guiding users through the installation of dependencies and starting the development server.
React Project Initialization: A new client directory is created, housing the React application setup and configuration, including a package.json file with dependencies such as react, react-dom, and axios.
React Components: Adds App.js as the main React component, implementing HTTP requests to the existing FastAPI backend using axios to fetch and display data.
Application Entry Point: Introduces index.js and index.html in the client/src and client/public directories respectively, setting up the entry point and HTML template for the React application.
Gitignore Configuration: A .gitignore file is added to the client directory to exclude node_modules and other unnecessary files from version control.
This pull request introduces a React-based UI for interacting with the TARS APIs, fulfilling the request to add a React front-end to the repository. The changes include:
client
directory is created, housing the React application setup and configuration, including apackage.json
file with dependencies such asreact
,react-dom
, andaxios
.App.js
as the main React component, implementing HTTP requests to the existing FastAPI backend usingaxios
to fetch and display data.index.js
andindex.html
in theclient/src
andclient/public
directories respectively, setting up the entry point and HTML template for the React application..gitignore
file is added to theclient
directory to excludenode_modules
and other unnecessary files from version control.For more details, open the Copilot Workspace session.