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