π 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 documentationgit clone https://github.com/your-repo/deno-llamaindex-react.git
cd deno-llamaindex-reactEnsure you have Deno installed. Then, install dependencies:
deno task installdeno run --allow-net --allow-read backend/server.tsdeno 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!