🚀 A full-stack web application built using Deno, LlamaIndex, and React. This project features a simple API, an AI-powered query engine, and a frontend counter app.
✅ Deno Web Server - Handles HTTP requests efficiently.
✅ LlamaIndex Integration - Processes document queries from a dataset.
✅ React Frontend - Displays an interactive counter.
✅ Modular Design - Easily extendable for additional features.
📦 project-root
┣ 📂 data # Data directory for LlamaIndex
┣ 📂 frontend # React frontend
┣ 📂 backend # Deno API & LlamaIndex setup
┣ 📜 utils.ts # Helper functions
┣ 📜 server.ts # Main server file
┣ 📜 README.md # Project documentation
git clone https://github.com/your-repo/deno-llamaindex-react.git
cd deno-llamaindex-react
Ensure you have Deno installed. Then, install dependencies:
deno task install
deno run --allow-net --allow-read backend/server.ts
deno run --allow-net frontend/main.tsx
Method | Endpoint | Description |
---|---|---|
GET | / |
Returns "Command Given!" |
POST | /query |
Processes AI queries |
{
"query": "What is the meaning of life?"
}
[ User ] → [ React Frontend ] → [ Deno API ] → [ LlamaIndex ]
- ✅ Add authentication using JWT
- ✅ Implement a database for query storage
- ✅ Improve UI with TailwindCSS
Feel free to submit a pull request or report issues in the Issues tab!