Skip to content

NealSr/sgf-aidbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

59 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SGF AidBase

Find Help in Springfield, MO β€” Tell us what you need. We'll connect you.

SGF AidBase is a community resource navigator that connects Springfield residents with food banks, shelters, utility assistance, and transportation help. Users describe what they need in their own words, and AI-powered matching finds the right organizations instantly.

🌐 Live: sgfaidbase.org


The Problem

Springfield, MO has dozens of incredible nonprofits helping people in crisis. The problem isn't that help doesn't exist β€” it's that people don't know where to start looking. Information is scattered across websites, phone trees, and word of mouth. When you're stressed, hungry, or scared, you don't have time to do research.

The Solution

SGF AidBase is a simple, accessible front door to community resources. Users can:

  • Search in plain language β€” Type "I can't afford groceries" or "my family needs a place to stay tonight" and get matched to real organizations
  • Browse by category β€” Four categories built around the "Four Walls" (the four things every person needs first): Food, Housing, Utilities, and Transportation
  • Get actionable info β€” Every listing includes address, phone, hours, eligibility, and one-tap links to call or get directions
  • Choose their experience β€” Toggle AI matching on or off based on personal preference

Tech Stack

Layer Technology Purpose
Frontend Next.js (App Router) Server-rendered React app with API routes
Styling Tailwind CSS Responsive, mobile-first design
Database Supabase (PostgreSQL) Resource listings with full-text search
AI Matching OpenAI API Natural language understanding for search queries
Hosting Vercel + AWS Amplify Dual deployment for reliability
Domain sgfaidbase.org SSL via Let's Encrypt (automatic)

Architecture

User types "I need help with groceries"
         β”‚
         β–Ό
   Next.js API Route (/api/search)
         β”‚
    β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”€β”
    β”‚ AI On?  β”‚
    β”œβ”€Yes────────────► OpenAI API ──► Structured JSON
    β”‚         β”‚        {category, confidence, empathetic summary}
    β”œβ”€No─────────────► Supabase full-text search (direct)
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
   Supabase PostgreSQL
   (filtered by matched category)
         β”‚
         β–Ό
   Resource cards with contact info,
   one-tap call/directions

Features

MVP (Vibeathon Scope)

  • Natural language search with AI-powered matching
  • Four Walls categories: Food, Housing, Utilities, Transportation
  • Resource detail pages with call/map/website links
  • AI toggle β€” search with or without AI assistance
  • Mobile-first responsive design
  • Voice input via Web Speech API
  • Community feedback form for corrections and suggestions
  • Verified resource data from direct outreach to Springfield organizations
  • Crisis safety net β€” 988 and 911 prominently displayed

Roadmap (Post-Vibeathon)

  • Multilingual support (Spanish and other languages via OpenAI API)
  • Additional categories: mental health, job training, childcare
  • Admin portal for organizations to update their own listings
  • PWA support (Add to Home Screen)
  • Community board for mutual aid posts
  • Map view of nearby resources
  • SMS-based search for users without smartphones

Project Structure

sgf-aidbase/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ layout.tsx              # Root layout, header, footer, disclaimer
β”‚   β”œβ”€β”€ page.tsx                # Homepage: search + category cards
β”‚   β”œβ”€β”€ search/page.tsx         # AI-powered search results
β”‚   β”œβ”€β”€ category/[slug]/page.tsx # Category browse
β”‚   β”œβ”€β”€ resource/[id]/page.tsx  # Resource detail
β”‚   β”œβ”€β”€ feedback/page.tsx       # Community feedback form
β”‚   β”œβ”€β”€ about/page.tsx          # About Ctrl+Aid+Shift
β”‚   └── api/
β”‚       β”œβ”€β”€ search/route.ts     # AI matching endpoint
β”‚       β”œβ”€β”€ resources/route.ts  # Resource listing endpoint
β”‚       └── feedback/route.ts   # Feedback submission endpoint
β”œβ”€β”€ components/                 # Reusable UI components
β”œβ”€β”€ lib/                        # Supabase client, Claude helpers, types
β”œβ”€β”€ docs/                       # Architecture & planning documents
β”œβ”€β”€ public/                     # Static assets
└── README.md

Methodology

This project was built during Springfield Tech Week 2026 as part of the Vibeathon, a vibe-coding hackathon powered by Codefi.

Process

  1. Validation β€” Used Traction Studio AI (by Codefi) to validate the problem statement and identify target users
  2. Architecture β€” Used Claude (Anthropic) for architecture decisions, data modeling, and prompt engineering
  3. Market Research β€” Visited Springfield organizations in person. Called phone numbers. Verified hours. Talked to social workers and case managers about how people find help today.
  4. Development β€” Used Claude in VSCode for AI-assisted code generation from structured blueprint documents
  5. Deployment β€” Dual deployment to Vercel (primary) and AWS Amplify (backup) from a single GitHub repo

Design Principles

  • Directory, not provider β€” We connect people to help. We don't diagnose, counsel, or promise outcomes.
  • Amplify, don't compete β€” We drive traffic to existing organizations, not away from them.
  • AI should be invisible β€” Users don't need to know AI powers the search. They just need good results.
  • Accuracy is a responsibility β€” Every resource listing was verified through direct contact with the organization either from their public website, published directories, or an email / phone contact.
  • Choice matters β€” AI matching can be toggled off for users who prefer traditional search.

Data Sources

All resource data was collected through direct outreach to Springfield, MO organizations during market research on March 25, 2026. Information was verified by email, phone, website, or in-person visit. Last verification dates are tracked per resource.

Disclaimer: SGF AidBase helps connect you with community resources in Springfield, MO. Always verify details directly with the organization. If you are in immediate danger, call 911. For crisis support, call or text 988.

Running Locally

# Clone the repo
git clone https://github.com/NealSr/sgf-aidbase.git
cd sgf-aidbase

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env.local
# Edit .env.local with your Supabase and OpenAI API keys

# Run the dev server
npm run dev

# Open http://localhost:3000

Environment Variables

NEXT_PUBLIC_SUPABASE_URL=https://your-unique-domain.supabase.co/
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
OPENAI_API_KEY=sk-proj-xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
OPENAI_MODEL=gpt-5-mini
ADMIN_PASSWORD=your_admin_page_password

Testing

Manual test plan available in /docs/12-TEST_PLAN.md. Automated testing planned with Playwright for post-MVP.

Team

Ctrl+Aid+Shift β€” Shift the way Springfield finds help. Built for Springfield Tech Week 2026 Vibeathon

"Springfield has the resources. Springfield has the heart. SGF AidBase just connects the two."

License

MIT

Acknowledgments

  • The incredible nonprofits of Springfield, MO who do the real work every day
  • Codefi and Traction Studio AI for the validation framework
  • Anthropic for Claude β€” the AI that helped architect, build, and power this app
  • Springfield Tech Council for organizing Springfield Tech Week
  • Everyone who took 5 minutes during market research to answer questions and share data

About

I'll do this later. It's a surprise for now.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages