# Know My Legal (v0-african-startup-legal-tech)
A cross-country legal tech product focused on company formation, document generation, and compliance automation for Tanzania and Kenya.
Live demo:
knowmylegal.tech
Repo language composition: TypeScript (70.2%), CSS (28.8%), JavaScript (1%)
## Project Overview
767
This project helps founders register and manage companies across Tanzania and Kenya with:
- Multi-country onboarding
- AI-driven company formation walkthroughs
- AI legal assistant and editable document templates
- Automated compliance reminders and a document vault
The product is built with TypeScript + Next.js, uses OpenAI for draft document generation and assistant capabilities, and aims for responsive, accessible interactions (Framer Motion for animated UX).
## Key Features
- Company formation flows (support for public/private types)
- AI Document Generator: draft → user-editable preview → PDF export
- AI Legal Assistant: jurisdiction-aware Q&A and references to local law
- Compliance automation: filing reminders, dashboards and per-country guides
- Document vault: secure storage, search & filters
- Partner integration hooks: referrals, consult booking, and embedding API
## Deployment
For Vercel deployment instructions, see VERCEL_DEPLOYMENT.md.
## Quickstart (dev)
1. Install
- Node 18+ recommended
- yarn or npm
2. Setup
- Copy .env.example → .env.local
- Provide NEXT_PUBLIC_API_URL, OPENAI_API_KEY, DATABASE_URL, etc.
- Install deps: yarn install
3. Run (dev)
- yarn dev
- Open
localhost
4. Tests & linters
- yarn test
- yarn lint
- yarn format
## Architecture (high level)
- Next.js (app routes) + TypeScript
- UI: React + Tailwind/CSS + Framer Motion for animations
- AI: OpenAI as primary LLM with prompts and local law datasets for contextualization
- Storage: Secure file storage for generated documents (S3-compatible or managed provider)
- DB: PostgreSQL (or similar) for users, companies, filings, reminders
- Integrations …