Skip to content

Vn0m/LegisTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LegisTrack

Track NY State legislation with AI-powered summaries

Java Spring Boot Next.js PostgreSQL Redis


Search NY Senate bills, get AI-generated summaries of complex legislation, and save bills to track over time.

Features

  • Search bills by keyword and session year
  • View bill details, sponsors, and status
  • AI summaries of dense legal text
  • Save and annotate bills (requires sign-in)

Tech Stack

Frontend: Next.js, React, TypeScript, Tailwind CSS

Backend: Spring Boot (Java 17), PostgreSQL, Redis

Services: Supabase (auth + database), Hugging Face (AI), NY Senate API

How to Run

Docker (recommended)

cp .env.example .env  # fill in your keys
docker compose up --build

Frontend: http://localhost:3000 · Backend: http://localhost:8080

Local Development

1. Backend

cd backend
./run.sh

2. Frontend

cd frontend
npm install
npm run dev

Environment Variables

Create .env in the root:

DATABASE_URL=jdbc:postgresql://...
DATABASE_USERNAME=postgres
DATABASE_PASSWORD=...
SUPABASE_URL=https://xxx.supabase.co
SUPABASE_SERVICE_ROLE_KEY=...
NEXT_PUBLIC_SUPABASE_URL=https://xxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=...
NY_SENATE_API_KEY=...
HUGGINGFACE_API_KEY=...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors