StartupGPT is an AI-powered legal assistant specifically designed for Nigerian entrepreneurs and startups. It provides comprehensive guidance on company registration, legal document generation, regulatory compliance, and startup-specific legal requirements within the Nigerian business environment.
Navigating Nigeria's complex legal landscape for startups is challenging and expensive. StartupGPT democratizes access to legal knowledge by providing:
- Instant CAC registration guidance with current costs and procedures
- AI-generated legal documents compliant with Nigerian law (CAMA 2020)
- Sector-specific compliance advice (FinTech, HealthTech, EdTech)
- Cost-effective legal assistance accessible 24/7
- Smart Chat Interface with context-aware responses
- Nigerian Law Specialization (CAMA 2020, SEC, CBN regulations)
- Personalized Guidance based on user profile and startup stage
- Cost Estimates in Nigerian Naira (β¦) with accurate timeframes
- Shareholder Agreements with equity structuring
- Employment Contracts and NDAs
- MEMART (Memorandum and Articles of Association)
- Board Resolutions and corporate templates
- One-click download in multiple formats
- Comprehensive Guides on CAC registration process
- ESOP Implementation strategies for Nigerian startups
- FinTech Regulatory landscape and licensing requirements
- Compliance Tracking with deadline management
- Search & Filter functionality across legal content
- Onboarding Flow for personalized experience
- Mobile-Responsive design for accessibility
- Professional UI with enterprise-grade design
- Real-time Updates on legal requirements
- React 18 with TypeScript for type safety
- Vite for fast development and building
- Tailwind CSS for utility-first styling
- shadcn/ui + Radix UI for accessible components
- React Router for client-side routing
- React Query for server state management
- Supabase Edge Functions (Deno runtime)
- Groq API with Llama3-8b-8192 model
- PostgreSQL database via Supabase
- Real-time subscriptions for instant updates
- Clash Display typography for modern appeal
- Lucide React icons for consistency
- Custom animations and micro-interactions
- Node.js 18+ and npm (or use nvm)
- Git for version control
-
Clone the repository
git clone https://github.com/psybah/startupgpt.git cd startupgpt
-
Install dependencies
npm install
-
Environment Setup
# Copy environment template cp .env.example .env.local # Add your environment variables VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key GROQ_API=your_groq_api_key
-
Start development server
npm run dev
5. **Open in browser**
### Building for Production
```bash
# Build the project
npm run build
# Preview production build
npm run preview
startupgpt/
βββ src/
β βββ components/ # Reusable UI components
β β βββ chat/ # Chat interface components
β β βββ onboarding/ # User onboarding flow
β β βββ tabs/ # Main application tabs
β β βββ ui/ # Base UI components (shadcn/ui)
β βββ hooks/ # Custom React hooks
β βββ integrations/ # External service integrations
β β βββ supabase/ # Supabase client and types
β βββ lib/ # Utility functions
β βββ pages/ # Page components
β βββ utils/ # Helper functions and data
β βββ index.css # Global styles and Tailwind config
βββ supabase/ # Supabase configuration
β βββ functions/ # Edge functions
β βββ chat-ai/ # AI chat backend
βββ public/ # Static assets
βββ package.json # Dependencies and scripts
- Complete Onboarding: Select your founder type, startup stage, and priorities
- Ask Legal Questions: Use the chat interface for instant legal guidance
- Generate Documents: Create CAC-compliant legal documents
- Browse Knowledge Base: Access comprehensive legal guides
- Track Compliance: Monitor deadlines and requirements
- Access Advanced Features: Utilize professional-grade document templates
- Client Consultation: Use as a research and reference tool
- Stay Updated: Access latest regulatory changes and requirements
- Due Diligence: Review legal structure requirements
- Investment Documentation: Generate investment-related legal documents
- Compliance Verification: Understand regulatory requirements
Variable | Description | Required |
---|---|---|
VITE_SUPABASE_URL |
Supabase project URL | Yes |
VITE_SUPABASE_ANON_KEY |
Supabase anonymous key | Yes |
GROQ_API |
Groq API key for AI features | Yes |
- Styling: Modify
src/index.css
for design system changes - AI Prompts: Update system prompts in
supabase/functions/chat-ai/index.ts
- Legal Content: Extend knowledge base in
src/utils/legalKnowledgeBase.ts
# Run linting
npm run lint
# Type checking
npx tsc --noEmit
# Build test
npm run build
We welcome contributions to improve StartupGPT! Please follow these guidelines:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Commit changes:
git commit -m 'Add amazing feature'
- Push to branch:
git push origin feature/amazing-feature
- Open a Pull Request
- TypeScript: Use proper typing for all new code
- ESLint: Follow existing linting rules
- Components: Use functional components with hooks
- Styling: Utilize Tailwind CSS utilities
- Naming: Use descriptive, consistent naming conventions
- Accuracy: Ensure all legal information is current and accurate
- Sources: Cite relevant Nigerian laws and regulations
- Disclaimers: Include appropriate legal disclaimers
- Updates: Keep regulatory information current
This project is licensed under the MIT License - see the LICENSE file for details.
- shadcn/ui for the excellent component library
- Tailwind CSS for the utility-first CSS framework
- Supabase for backend infrastructure
- Groq for AI model access
- Nigerian Legal Community for domain expertise validation
- User Authentication and document history
- Payment Integration for premium features
- Real-time Notifications for regulatory updates
- Multi-language Support (Yoruba, Igbo, Hausa)
- Lawyer Network Integration
- Mobile App development
- API Access for third-party integrations