A demo project with a Next.js frontend and a FastAPI-based backend agent for stock analysis and chat.
frontend/
— Next.js 15 app (UI)agent/
— FastAPI backend agent (Python)
Create a .env
file in each relevant directory as needed.
GOOGLE_API_KEY=<<your-gemini-key-here>>
GOOGLE_API_KEY=<<your-gemini-key-here>>
cd agent
poetry install
poetry run python main.py
cd frontend
pnpm install
pnpm run dev
Open http://localhost:3000 in your browser to view the app.
- Ensure the backend agent is running before using the frontend.
- Update environment variables as needed for your deployment.