Regulation 365 is a comprehensive web platform designed to help financial institutions navigate and manage regulatory requirements. The platform provides real-time updates on financial regulations, enforcement actions, and regulatory changes across multiple US federal agencies.
Final.Solution.for.Regulation.365.Walkthrough.1.mp4
- Real-time tracking of federal regulatory documents
- AI-powered document summarization
- Smart document categorization and filtering
- Relevance marking and organization
- Document-specific chat interface for detailed queries
- Regulatory knowledge base chat for general regulatory questions
- AI-powered responses backed by regulatory documents
- Context-aware conversations with document references
- Real-time monitoring of enforcement actions from:
- Consumer Financial Protection Bureau (CFPB)
- Federal Deposit Insurance Corporation (FDIC)
- Federal Reserve Board (FRB)
- Office of the Comptroller of the Currency (OCC)
- Financial Crimes Enforcement Network (FinCEN)
- Office of Foreign Assets Control (OFAC)
- Securities and Exchange Commission (SEC)
- Detailed analytics and trend analysis
- Customizable dashboard with key metrics
- Real-time regulatory news from multiple sources
- Curated content from legal and professional services firms
- RSS feed integration with major regulatory bodies
- Categorized news display with source verification
-
Frontend:
- Next.js 14 (App Router)
- React
- TypeScript
- Tailwind CSS
- shadcn/ui components
- Recharts for data visualization
-
Backend:
- Supabase (Database & Authentication)
- OpenAI API
- Pinecone (Vector Database)
- Vercel (Deployment)
-
APIs & Integration:
- Ghost CMS for blog content
- RSS Feed parsing
- Multiple regulatory agency APIs
- Node.js 18+
- npm or yarn
- Supabase account
- OpenAI API key
- Pinecone account
- Ghost CMS account (for blog functionality)
Create a .env.local
file in the root directory with the following variables:
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key
# Pinecone Configuration
PINECONE_API_KEY=your_pinecone_api_key
PINECONE_INDEX_NAME=your_index_name
# Ghost CMS Configuration
GHOST_API_URL=your_ghost_url
GHOST_CONTENT_API_KEY=your_ghost_api_key
- Clone the repository:
git clone https://github.com/your-username/regulation-365.git
cd regulation-365
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser
The application requires specific Supabase tables and schemas. Here are the main tables needed:
federal_documents
: Stores regulatory documentschat_logs
: Stores chat interactionsea_cfpb
: CFPB enforcement actionsea_fdic
: FDIC enforcement actionsea_frb
: Federal Reserve enforcement actionsea_occ
: OCC enforcement actions
Detailed schema information is available in the database setup documentation.
regulation-365/
├── app/ # Next.js app directory
│ ├── (admin)/ # Admin routes
│ ├── (home)/ # Public routes
│ ├── api/ # API routes
│ └── auth/ # Authentication routes
├── components/ # React components
│ ├── ea/ # Enforcement action components
│ ├── ui/ # UI components
│ └── ...
├── lib/ # Utility libraries
├── public/ # Static files
├── types/ # TypeScript type definitions
└── utils/ # Utility functions