A modern web application built with the T3 Stack that provides clear, comprehensive, and unbiased analysis of executive orders and bills from the White House. The platform helps citizens understand the implications of important governmental actions by breaking down complex legal documents into clear, actionable insights.
- 📑 Detailed analysis of executive orders and bills
- 🔍 Risk score assessment for each document
- 📊 Comprehensive breakdowns including:
- ELI5 (Explain it Like I'm 5) summaries
- Key points analysis
- Constitutional implications
- Potential legal challenges
- Real-world impacts
- Historical context
- 🔄 Regular updates and amendments tracking
- 📱 Responsive design with dark/light mode support
- 👤 Admin panel for content management
- Next.js - React framework for production
- NextAuth.js - Authentication solution
- Prisma - Database ORM
- Tailwind CSS - Utility-first CSS framework
- tRPC - End-to-end typesafe APIs
- Radix UI - Unstyled, accessible components
-
Clone the repository
-
Install dependencies:
pnpm install
-
Set up your environment variables:
cp .env.example .env
-
Initialize the database:
pnpm db:generate pnpm db:push
-
Start the development server:
pnpm dev
pnpm build
- Build the production applicationpnpm dev
- Start the development server with Turbopnpm start
- Start the production serverpnpm lint
- Run ESLintpnpm format:check
- Check code formattingpnpm format:write
- Fix code formattingpnpm typecheck
- Run TypeScript type checkingpnpm db:generate
- Generate Prisma clientpnpm db:push
- Push database schema changespnpm db:studio
- Open Prisma Studiopnpm db:backup
- Create database backup
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open-source and available under the MIT license.