Skip to content

PushButtonPlatforms/debt-defense-platform

Repository files navigation

Debt Defense Platform

A comprehensive legal document generation platform for debt collection defense cases.

Project Structure

This is a Turborepo monorepo containing:

  • apps/front - Next.js frontend application
  • apps/api - NestJS backend API
  • packages/ui - Shared UI components
  • packages/dto - Shared data transfer objects

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

# Install dependencies
npm install

# Build all packages
npm run build

# Start development server
npm run dev

Environment Variables

Create a .env.local file in apps/front with:

DATABASE_URL="postgresql://neondb_owner:npg_I3JCsy2OukwX@ep-white-wave-a59hudo9-pooler.us-east-2.aws.neon.tech/neondb?sslmode=require"
NEXTAUTH_SECRET="your-secret-key"
NEXTAUTH_URL="http://localhost:3000"

Deployment

Vercel Deployment

The project is configured for Vercel deployment with:

  • vercel.json configuration for Turborepo
  • Optimized build settings
  • Environment variable management

To deploy:

  1. Connect your repository to Vercel
  2. Set environment variables in Vercel dashboard
  3. Deploy automatically on push to main branch

Features

  • User Authentication - Secure login/signup system
  • Document Generation - AI-powered legal document creation
  • Case Management - Track lawsuit progress and deadlines
  • Admin Dashboard - Manage users, prompts, and system settings
  • Payment Processing - Credit-based document generation
  • Court Monitoring - Track case updates and alerts

Tech Stack

  • Frontend: Next.js 14, TypeScript, Tailwind CSS, shadcn/ui
  • Backend: NestJS, TypeScript, PostgreSQL
  • Database: Neon PostgreSQL
  • Deployment: Vercel
  • Monorepo: Turborepo

Development

Running Locally

# Start all services
npm run dev

# Start specific app
npm run dev --filter=@debt-defense-platform/frontend
npm run dev --filter=@debt-defense-platform/api

Building

# Build all packages
npm run build

# Build specific package
npm run build --filter=@debt-defense-platform/frontend

Testing

# Run tests
npm run test

# Run tests for specific package
npm run test --filter=@debt-defense-platform/frontend

License

Private - All rights reserved

About

Complete debt defense platform with Neon PostgreSQL integration - DebtDismissalDocs.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages