Skip to content

Prithvi-k/tax-copilot

Repository files navigation

Tax Copilot

A modern web application built with Next.js that helps Indian tax professionals navigate the tax laws with AI-powered assistance.

Getting Started

Prerequisites

  • Node.js 18.0 or later
  • npm or yarn package manager
  • Supabase CLI
  • Docker (for running Supabase locally)

Installation

  1. Clone the repository:
git clone https://github.com/Prithvi-k/tax-copilot.git
cd tax-copilot
  1. Install dependencies:
npm install
# or
yarn install
  1. Local Environment Setup
cp env.sample .env.local

Fill in NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY

Running

  1. Supabase Local Setup
sudo supabase start

This spins up Supabase with Postgres, Auth, and Storage in Docker. By default, it runs at http://localhost:54321

  1. Start the development server:
npm run dev
# or
yarn dev

The application will be available at http://localhost:3000.

Notes

  • Uploaded files stored locally at /data/user_docs
  • 2 Tables setup in Supabase :
    • queries: Stores user prompts and metadata
    • uploaded_files: Stores uploaded file metadata (filename, status, size, etc.)

About

A tool that helps Indian tax professionals navigate tax laws with AI

Resources

Stars

Watchers

Forks

Contributors