Skip to content

Aksh8t/Full-Stack-RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

🦕 Deno + LlamaIndex + React Full-Stack Web App

Deno LlamaIndex React

🚀 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.


📌 Features

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 Structure

📦 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

🛠️ Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/your-repo/deno-llamaindex-react.git
cd deno-llamaindex-react

2️⃣ Install Dependencies

Ensure you have Deno installed. Then, install dependencies:

deno task install

3️⃣ Run the Backend

deno run --allow-net --allow-read backend/server.ts

4️⃣ Run the Frontend

deno run --allow-net frontend/main.tsx

📌 API Endpoints

Method Endpoint Description
GET / Returns "Command Given!"
POST /query Processes AI queries

Example Query Request:

{
  "query": "What is the meaning of life?"
}

🎨 Visual Overview

Architecture Diagram

[ User ] → [ React Frontend ] → [ Deno API ] → [ LlamaIndex ]

🎭 Stickers & Badges

Powered by Deno Built with React


🚀 Future Enhancements

  • ✅ Add authentication using JWT
  • ✅ Implement a database for query storage
  • ✅ Improve UI with TailwindCSS

🤝 Contributing

Feel free to submit a pull request or report issues in the Issues tab!


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published