This project consists of a backend API server and a frontend React application.
project/
├── ai_agent_backend/
│ ├── src/
│ │ └── server.js
│ ├── config/
│ ├── tests/
│ └── package.json
├── ai_agent_frontend/
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ └── services/
│ └── package.json
└── README.md
- Navigate to the
ai_agent_backenddirectory. - Run
npm installto install dependencies. - Create a
.envfile with the following content:XATA_API_KEY=your_xata_api_key DATABASE_URL=your_database_url - Run
npm startto start the server.
- Navigate to the
ai_agent_frontenddirectory. - Run
npm installto install dependencies. - Run
npm run devto start the development server.
npm start: Starts the servernpm test: Runs the test suite
npm run dev: Starts the development servernpm run build: Builds the app for productionnpm run serve: Serves the production build locally
Make sure to set the following environment variables:
XATA_API_KEY: Your Xata API keyDATABASE_URL: Your Xata database URL
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.