Skip to content

cs7-shrey/voyagerhack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

H A V E N

Overview

This repository contains the source code of H A V E N. Our AI driven hotel search platform:

Requirements

Use the following tools to set up the project:

Run locally

  1. Clone the repository
    git clone https://github.com/cs7-shrey/voyagerhack/
  1. Navigate to the project directory.
    cd voyagerhack
  1. Install all website dependencies.
    npm install
    pip install -r requirements.txt
  1. Create a .env file with the following environment variables
    DATABASE_URL,
    ORM_URL,
    GOOGLE_API_KEY,
    SPEECHMATICS_API_KEY,
    TAVILY_API_KEY,
    MAPS_API_KEY,

    ALGORITHM,
    ACCESS_TOKEN_EXPIRE_MINUTES,
    SECRET_KEY,
    ENVIRONMENT,

    VITE_SOCKET_BASE_URL,
    VITE_HTTP_BASE_URL,

    BASE_FRONTEND_DOMAIN,
    BASE_FRONTEND_URL
  1. Run the backend server
    uvicorn app.main:app
  1. Run the frotnend
    npm run dev

Project structure

This repository has the following structure:

├── app                                         # The backend code
│   ├── routes                                  # Backend API routes
│   ├── services                                # Core services used by the backend
│   │   ├── ai                                  # LLM services used by the backend
│   │   ├── crud                                # DB crud service for backend
│   │   └── tools                               # Tool declarations and definitions for Agents
|   └── utils                                   # Utilities
├── public                                      # Static data for frontend
├── src                                         # React frontend code
│   ├── assets                                  # Various assets
│   ├── components                              # Frontend components
│   ├── context                                 # Custom context layer
│   ├── lib                                     # Client logic for audio/websocket connections
│   ├── routes                                  # Routes for client side routing
│   └── store                                   # Zustand state store
└── .github                                     # Definitions of GitHub workflows