An open API service indexing awesome lists of open source software.

https://github.com/mrj0nesmtl/sheltr-ai

An ecosystem where every donation creates immediate, transparent impact through direct participant empowerment.
https://github.com/mrj0nesmtl/sheltr-ai

anthropic-claude banking base big-data cursor firebase firestore fundraising housing-affordability impact-service python-3 qr-code tech4good tech4impact unhoused

Last synced: 2 months ago
JSON representation

An ecosystem where every donation creates immediate, transparent impact through direct participant empowerment.

Awesome Lists containing this project

README

          

# 🏠 SHELTR-AI
**Hacking homelessness through technology.**

The next generation platform for transparent charitable giving and homelessness support built on modern cloud infrastructure.

[![Firebase](https://img.shields.io/badge/Firebase-FFCA28?style=for-the-badge&logo=firebase&logoColor=black)](https://firebase.google.com)
[![FastAPI](https://img.shields.io/badge/FastAPI-009688?style=for-the-badge&logo=fastapi&logoColor=white)](https://fastapi.tiangolo.com)
[![React](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)](https://reactjs.org)
[![Expo](https://img.shields.io/badge/Expo-000020?style=for-the-badge&logo=expo&logoColor=white)](https://expo.dev)
[![GitHub Stars](https://img.shields.io/github/stars/mrj0nesmtl/sheltr-ai?style=for-the-badge)](https://github.com/mrj0nesmtl/sheltr-ai)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg?style=for-the-badge)](https://www.python.org/downloads/)
[![Last Updated](https://img.shields.io/badge/Last%20Updated-August%204%2C%202025-brightgreen?style=for-the-badge)](https://github.com/mrj0nesmtl/sheltr-ai)

---

## 🎯 Mission

**Hacking homelessness through technology.** SHELTR-AI empowers direct, transparent charitable giving through QR-code enabled donations, blockchain verification, and AI-driven insights. Every donation follows our SmartFundβ„’ distribution: 80% direct to participants, 15% to sustainable housing, 5% to platform operations.

## πŸš€ Quick Start

- **New to SHELTR-AI?** β†’ Start with [Overview & Vision](docs/01-overview/README.md)
- **Want to develop?** β†’ Check [Development Roadmap](docs/04-development/dev-roadmap.md)
- **Need API docs?** β†’ Visit [API Documentation](docs/03-api/README.md)
- **User guidance?** β†’ See [User Guides](docs/06-user-guides/participant-guide.md)

---

## πŸ“š Documentation Sections

### 🌟 [01. Overview](docs/01-overview/)
- [Getting Started & Vision](docs/01-overview/README.md)
- [Mission: Hacking Homelessness](docs/01-overview/hacking_homelessness.md)
- [Documentation Strategy](docs/01-overview/SHELTR-AI-DOCS-PLAN.md)
- [Implementation Roadmap](docs/01-overview/SHELTR-AI-IMPLEMENTATION-PLAN.md)

### πŸ—οΈ [02. Architecture](docs/02-architecture/)
- [System Design](docs/02-architecture/system-design.md)
- [Official Whitepaper](docs/02-architecture/whitepaper_final.md)
- [Blockchain Integration](docs/02-architecture/technical/blockchain.md)
- [SHELTR Tokenomics](docs/02-architecture/tokenomics/sheltr-tokenomics.md)

### πŸ”Œ [03. API Documentation](docs/03-api/)
- [FastAPI Overview](docs/03-api/README.md)
- [Authentication Endpoints](docs/03-api/README.md#authentication)
- [User Management APIs](docs/03-api/README.md#user-management)
- [Donation System APIs](docs/03-api/README.md#donations)

### πŸ‘©β€πŸ’» [04. Development](docs/04-development/)
- [Development Roadmap](docs/04-development/dev-roadmap.md)
- [Session 5.5: About & Solutions Redesign](docs/04-development/SESSION-05.5-ABOUT-SOLUTIONS-REDESIGN.md)
- [Session 6: Multi-Dashboard Development](docs/04-development/SESSION-06-MULTI-DASHBOARD-DEVELOPMENT.md)
- [Session 5: GitHub Security & Super Admin](docs/04-development/SESSION-05-GITHUB-SECURITY-SUPER-ADMIN.md)
- [Session 4: Super Admin Dashboard](docs/04-development/SESSION-04-SUPER-ADMIN-DASHBOARD.md)
- [Session 3: Authentication & RBAC](docs/04-development/SESSION-03-AUTHENTICATION-RBAC.md)

### πŸ‘₯ [06. User Guides](docs/06-user-guides/)
- [Participant Guide](docs/06-user-guides/participant-guide.md)
- Shelter Admin Guide *(Coming Soon)*
- Donor Guide *(Coming Soon)*
- SuperAdmin Guide *(Coming Soon)*

### πŸ”„ [09. Migration](docs/09-migration/)
- [Database Migration Complete](docs/09-migration/DATABASE_MIGRATION_COMPLETE.md)
- [Migration Strategy](docs/09-migration/DATABASE_MIGRATION_PLAN.md)
- [From Supabase Migration](docs/09-migration/from-supabase.md)

### πŸ€– AI Agent Documentation
- [Claude Agent Briefing](docs/CLAUDE-AGENT-BRIEFING.md)
- [Agent Communication Protocols](docs/CLAUDE-AGENT-COMMUNICATION.md)

---

## 🎯 Four-Role System

SHELTR-AI operates on a comprehensive four-role user system designed for maximum flexibility and security:

| Role | Description | Access Level | Tenant Location | **πŸ†• New Features** |
|------|-------------|--------------|-----------------|-------------------|
| **πŸ‘‘ SuperAdmin** | SHELTR Founders & Platform Operators | Global system control | `tenants/platform/` | Advanced analytics, blockchain oversight |
| **πŸ‘¨β€πŸ’Ό Admin** | Shelter Operators & Staff | Shelter management | `tenants/shelter-{id}/` | Multi-shelter dashboards, participant management |
| **πŸ‘€ Participant** | Donation Recipients (Homeless Individuals) | Personal QR & donations | `tenants/shelter-{id}/participants/` or `tenants/participant-network/` | **πŸ†• Independent registration, QR code generation** |
| **πŸ’ Donor** | People Making Donations | Donation & impact tracking | `tenants/donor-network/` | Real-time impact tracking, donation history |

### **πŸ†• Participant Independence**
Participants can now register **independently** of shelters, creating a more inclusive network:
- **Direct Registration**: QR code generation without shelter affiliation
- **Cross-Shelter Mobility**: Maintain identity across multiple locations
- **Personal Agency**: Own their donation profile and impact story

---

## πŸͺ™ SHELTR Token & Blockchain System

### **πŸ†• Enhanced Token Architecture**

We've expanded our blockchain integration with multiple token options and enhanced smart contract functionality:

#### **Token Options**
1. **πŸ”΅ USDC Integration** - Price-stable donations with immediate utility
2. **🟒 Custom SHLTR Token** - Platform-native with governance features
3. **🟑 Hybrid System** - USDC for donations + SHLTR for governance + NFT impact certificates

#### **SmartFundβ„’ Smart Contracts**
Every donation automatically distributes through audited smart contracts:

```solidity
// SmartFundβ„’ Distribution
function processDonation(address participant, uint256 amount) external {
uint256 toParticipant = (amount * 80) / 100; // 80% direct
uint256 toHousing = (amount * 15) / 100; // 15% housing fund
uint256 toOperations = (amount * 5) / 100; // 5% platform ops

// Instant, transparent distribution
token.transfer(participant, toParticipant);
token.transfer(housingFund, toHousing);
token.transfer(operationsFund, toOperations);
}
```

#### **πŸ†• Blockchain Features**
- **πŸ” Public Explorer**: Real-time transaction tracking
- **πŸ† Impact NFTs**: Donation certificates and achievement badges
- **πŸ—³οΈ DAO Governance**: Community-driven platform decisions
- **⚑ Layer 2**: Polygon integration for low-cost transactions
- **πŸ›‘οΈ Multi-sig**: Enhanced security for fund management

**β†’ [Complete Blockchain Documentation](docs/02-architecture/technical/blockchain.md)**

---

## πŸ› οΈ Technology Stack

### **πŸ†• Updated Stack - SHELTR-AI 2.0**

#### Frontend & Mobile
- **Web**: Next.js 15 + React 18 + TypeScript 5.0+
- **Mobile**: Expo SDK 50 + React Native
- **UI**: Tailwind CSS + Shadcn/UI + Radix UI
- **State**: Zustand + React Hook Form + Zod validation
- **Real-time**: Firebase SDK v9+ with real-time listeners

#### Backend & Database
- **API**: FastAPI + Python 3.11 + Async/Await
- **Database**: Firebase Firestore (multi-tenant architecture)
- **Auth**: Firebase Authentication + custom claims + role-based access
- **Storage**: Firebase Storage + Google Cloud Storage
- **Queue**: Google Cloud Tasks + Pub/Sub

#### **πŸ†• Blockchain & AI**
- **Blockchain**: Ethereum + Polygon + Smart Contracts (Solidity)
- **Token**: Multi-option system (USDC/SHLTR/Hybrid)
- **AI**: OpenAI GPT-4 + LangChain + Custom analytics
- **ML**: Google Cloud AI for predictive insights

#### **πŸ†• Infrastructure & DevOps**
- **Hosting**: Firebase Hosting + Google Cloud Run (serverless)
- **Deployment**: Docker + GitHub Actions + automated testing
- **Monitoring**: Google Cloud Monitoring + Sentry + custom dashboards
- **CDN**: Firebase CDN + Cloud Storage global distribution
- **Security**: Google Cloud Security Command Center + automated audits

#### **πŸ†• Development Tools**
- **IDE**: Cursor (Claude 4 Sonnet integration) + VS Code settings
- **Monorepo**: TurboRepo + shared packages + optimized builds
- **Testing**: Jest + Cypress + Playwright + Python pytest
- **Code Quality**: ESLint + Prettier + Black + MyPy + pre-commit hooks

---

## 🌟 Key Features

βœ… **QR-Code Donations** - Instant scan-and-give system
βœ… **Blockchain Verification** - Transparent, immutable transactions
βœ… **Multi-Tenant SaaS** - Scalable shelter management
βœ… **AI-Powered Analytics** - Data-driven impact insights
βœ… **Mobile-First Design** - Native iOS/Android experience
βœ… **Real-Time Dashboards** - Live donation tracking
βœ… **SmartFundβ„’ Distribution** - Automated 80/15/5 allocation
βœ… **Role-Based Access** - Four-tier permission system

### **πŸ†• New Features in SHELTR-AI 2.0**
πŸ†• **Independent Participant Registration** - No shelter requirement
πŸ†• **Firebase Real-time Sync** - Live updates across all platforms
πŸ†• **Google Cloud Run Backend** - Serverless, auto-scaling API
πŸ†• **Enhanced Blockchain Integration** - Multi-token support + NFTs
πŸ†• **Advanced AI Analytics** - Predictive insights + impact modeling
πŸ†• **Monorepo Architecture** - Streamlined development workflow
πŸ†• **Docker Containerization** - Consistent deployment environments
πŸ†• **Automated CI/CD** - GitHub Actions + automated testing
✨ **LIVE AUTHENTICATION** - Complete 4-role RBAC system operational
✨ **WORKING DASHBOARDS** - Role-specific interfaces with real data

---

## πŸš€ **Development Status & Roadmap**

### **🎯 Current Phase: SESSION 8 COMPLETE βœ… - Core Business Logic + Mobile Dashboard Polish**
- βœ… Repository structure and documentation
- βœ… Python virtual environment setup
- βœ… FastAPI backend foundation
- βœ… Firebase project configuration
- βœ… **LIVE WEBSITE**: https://sheltr-ai.web.app
- βœ… **Complete UI**: All stakeholder pages, tokenomics, impact dashboard
- βœ… **Professional Design**: Shadcn UI with theme toggle
- βœ… **COMPLETE AUTHENTICATION**: 4-role RBAC system working
- βœ… **JOEL'S SUPER ADMIN**: Live dashboard with platform oversight
- βœ… **LIVE BUTTONS**: All website CTAs now functional
- βœ… **πŸ“± MOBILE NAVIGATION**: Hamburger menu on all public pages
- βœ… **🎨 THEME-AWARE LOGOS**: Dynamic logo switching for light/dark modes
- βœ… **πŸ“„ GLOBAL FOOTER**: Standardized footer component across all pages
- βœ… **🧹 REPOSITORY CLEANUP**: Professional .gitignore and file organization
- βœ… **🏠 ABOUT PAGE REDESIGN**: Complete overhaul with forward-looking messaging
- βœ… **πŸ’« IMPACT PAGE**: Internet Angels integration and future vision focus
- βœ… **πŸ“‹ SOLUTIONS ENHANCEMENT**: Professional case studies and policy briefs
- βœ… **πŸ“š DOCUMENTATION HUB**: Enhanced with new docs and fixed links
- βœ… **πŸ“± MOBILE DASHBOARD POLISH**: All 7 dashboard pages redesigned for mobile perfection
- βœ… **πŸ’¬ ENHANCED CHATBOT**: Pop-out windows, fullscreen mode, mobile optimization
- βœ… **πŸ”§ THEME TOGGLE INTEGRATION**: Dashboard theme switching with perfect positioning
- βœ… **πŸš€ SERVICE BOOKING SYSTEM**: Complete backend API with FastAPI endpoints
- βœ… **πŸ“ FORM PERSISTENCE**: Real-time data saving with Firebase integration
- βœ… **πŸ› PRODUCTION BUILD FIXES**: All TypeScript errors resolved, deployment ready
- πŸ”„ Advanced API endpoints expansion
- ⏳ Blockchain integration phase

### **πŸ“… Upcoming Milestones**
- **Week 3-4**: βœ… **COMPLETED EARLY** - Authentication system fully operational
- **Week 5-6**: βœ… **COMPLETED** - Session 5.5 About & Solutions redesign
- **Week 7-8**: βœ… **COMPLETED** - Session 8 Core Business Logic + Mobile Dashboard Polish
- **Week 9-10**: Advanced API endpoints + File upload system + Donation processing
- **Week 11-12**: Blockchain integration + Smart contracts deployment
- **Week 13-14**: Production scaling + Stakeholder onboarding + Mobile app development

**β†’ [Complete Roadmap](docs/04-development/dev-roadmap.md)**

---

## πŸ“ž Support & Community

### **For Users & Organizations**
- πŸ“§ **General Support**: joel@arcanaconcept.com
- 🏠 **Shelter Partnerships**: joel@arcanaconcept.com
- πŸ“š **User Guides**: [User Documentation](docs/06-user-guides/participant-guide.md)
- πŸ”§ **Technical Support**: joel@arcanaconcept.com
- 🌐 **Website**: [sheltr-ai.web.app](https://sheltr-ai.web.app)

### **For Developers**
- πŸ“– **Documentation Hub**: [Complete Documentation](docs/TABLE_OF_CONTENTS.md)
- πŸ› **Issues**: [GitHub Issues](https://github.com/mrj0nesmtl/sheltr-ai/issues)
- πŸ’¬ **Discussions**: [GitHub Discussions](https://github.com/mrj0nesmtl/sheltr-ai/discussions)
- πŸ”§ **API Reference**: [FastAPI Docs](docs/03-api/README.md)
- πŸ—οΈ **Development Guide**: [Development Roadmap](docs/04-development/dev-roadmap.md)

---

**πŸ“– "Great documentation is the foundation of great software - and great impact."**

*Last Updated: August 4, 2025 - Session 8 Complete: Core Business Logic + Mobile Dashboard Polish*

**🌐 [Visit Live Site](https://sheltr-ai.web.app) | πŸš€ [Get Started](docs/01-overview/README.md) | 🀝 [Contribute](CONTRIBUTING.md) | πŸ’ [Donate](https://sheltr-ai.web.app/scan-give) | πŸ“– [Documentation Hub](docs/TABLE_OF_CONTENTS.md)**