NFP-Compass is an intelligent, AI-powered application designed to guide users through the complex process of forming a Non-Profit Organization (NFP) in Texas.
Powered by Google's Gemini 3, the application features "Gemma," a warm and professional AI consultant that walks users through every step of the journey—from defining a mission statement to filing for tax-exempt status.
- AI Consultant (Gemma): A specialized AI persona that acts as a guide, not just a chatbot. Gemma validates mission statements with data, provides encouragement, and ensures compliance with Texas regulations.
- Step-by-Step Workflow: Tracks progress through the 7 critical steps of NFP formation:
- Mission & Name Definition
- Board of Directors Formation
- State Incorporation (Texas Form 202)
- EIN Issuance
- Bylaws & Conflict of Interest Policy
- Federal 501(c)(3) Status (Form 1023-EZ)
- State Tax Exemption (AP-204)
- Dynamic Branding: The AI analyzes the organization's mission to generate custom color palettes and branding themes (e.g., "Growth" for environmental NFPs, "Empathy" for humanitarian causes).
- Interactive UI:
- Chat Interface: Real-time conversation with the AI consultant.
- Browser Simulation: Integrated view for previewing forms and external resources.
- Progress Tracking: Visual indicators of the current stage in the formation process.
- Organization Switcher: Manage multiple NFP profiles (includes mock data for demonstration).
- Frontend: React 19
- Build Tool: Vite
- Language: TypeScript
- Styling: Tailwind CSS
- AI Model: Google Gemini 3 (via
@google/genai) - Icons: Lucide React
-
Clone the repository:
git clone https://github.com/yveshughes/NFP-Compass.git cd NFP-Compass -
Install dependencies:
npm install
-
Configure Environment Variables: Create a
.envfile in the root directory and add your Google Gemini API key:API_KEY=your_google_gemini_api_key_here
Note: The application expects the API key to be available to the client-side code. Ensure your build configuration supports this (e.g., using
VITE_prefix if using standard Vite env handling, though the current code usesprocess.env.API_KEYwhich might require specific Vite config). -
Run the development server:
npm run dev
-
Build for production:
npm run build
- Launch the application.
- Click "Start Your Journey" on the landing page.
- Chat with Gemma to begin defining your non-profit's mission.
- Follow the guided steps to complete your incorporation and tax-exemption filings.