This React project utilizes Node.js to connect to a FastAPI backend for implementing an AI Agent to assist with travel searches and bookings.
- Utilizes React for building a modern and interactive user interface.
- Integrates Node.js for server-side logic and connecting to the FastAPI backend.
- Implements the LangChain AI Agent with custom tools.
- Utilizes FastAPI for building a high-performance backend API.
- Node.js 20.11.1 installed in your development environment.
- Access to a FastAPI backend for AI Agent.
- Basic knowledge of React, Node.js, FastAPI, and LangChain concepts.
- Clone the repository to your local machine.
- Set up and configure the FastAPI backend for LangChain AI Agent.
- Create .env file and populate:
- REACT_APP_API_HOST=http://127.0.0.1:8000
- Perform a clean install of package dependancies:
npm ci
- Start the Node.js server and run the React 18 application to interact with the AI Agent.
npm start
This project is licensed under the MIT License, granting permission for commercial and non-commercial use with proper attribution.
For any questions or issues, please open an issue on GitHub or reach out to the project maintainers.
This project is provided for educational and demonstration purposes only. Use at your own risk.