A comprehensive platform built with deaf-first principles, providing accessible financial services, AI-powered assistance, and decentralized governance.
This repository contains OpenAPI specifications for all five core services of the MBTQ.dev:
Secure authentication system designed with deaf-first principles.
services/deafauth/https://api.mbtq.dev/auth auth.mbtq.devReal-time accessibility features and synchronization.
services/pinksync/https://api.mbtq.dev/syncsync.mbtq.devDecentralized trust and verification layer.
services/fibonrose/https://api.mbtq.dev/trust trust.mbtq.devIntelligent automation and assistance agents. ===
services/magicians/https://api.mbtq.dev/magicians magicians.mbtq.devDecentralized governance and community management.
services/dao/https://api.mbtq.dev/daoβ All endpoints documented with OpenAPI 3.1
β Standardized responses across all services
β Shared DeafAUTH paseto security scheme
β Tags, components, pagination, error schemas
β Cloudflare-friendly JSON-only style
β Automated API testing with Jest
β SDK generation (TypeScript + Python)
β Interactive HTML documentation
β Fetch API examples for browsers
β Architecture documentation
β Production-ready specifications
npm run docs:serve to view)npm run generate:docs # Generate interactive HTML docs
npm run docs:serve # Serve docs at http://localhost:3000
All MBTQ Universe services use DeafAUTH for authentication. Include the Bearer token in the Authorization header:
Authorization: Bearer <your_token>
curl -X POST https://api.mbtq.dev/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "secure_password"}'
curl -X POST https://api.mbtq.dev/auth/login \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "secure_password"}'
curl -X GET https://api.mbtq.dev/sync/status \
-H "Authorization: Bearer <your_access_token>"
Note: The endpoints below show full paths including the service prefix (e.g., /auth/, /sync/). In the OpenAPI specifications, these are defined as relative paths (e.g., /register, /status) with the base URL specified in the servers section.
POST /auth/register - User registrationPOST /auth/login - User authenticationGET /auth/verify - Token verificationPOST /auth/refresh - Token refreshGET /sync/status - Check synchronization statusPOST /sync/preferences - Update accessibility preferencesGET /sync/features - List available accessibility featuresPOST /trust/blockchain/verify - Verify blockchain transactionGET /trust//trust-score - Get trust scorePOST /trust/blockchain/record - Record new transactionComprehensive AI agent platform with 60+ endpoints including:
See 360Magicians README for complete endpoint list.
GET /dao/proposals - List governance proposalsPOST /dao/vote - Submit voteGET /dao/members - List DAO membersCopy .env.example to .env and configure your environment variables:
cp .env.example .env
See .env.example for all required configuration options.
Google Cloud Integration:
AI SDK Integration:
The platform uses multiple AI models for comprehensive coverage:
This platform integrates with several related repositories:
Run comprehensive API tests for all services:
# Install dependencies
npm install
# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Run specific service tests
npm test -- tests/deafauth
npm test -- tests/pinksync
npm test -- tests/magicians
See tests/README.md for detailed testing documentation.
Validate all OpenAPI specifications:
# Validate specs
npm run validate:openapi
All specifications are validated and ready for:
Generate client SDKs from OpenAPI specifications:
# Generate TypeScript SDK
npm run generate:sdk:typescript
# Generate Python SDK
npm run generate:sdk:python
# Generate all SDKs
npm run generate:sdk
Generated SDKs will be in the sdks/ directory. See SDK.md for detailed documentation and usage examples.
const deafAuthMiddleware = async (req, res, next) => {
const token = req.headers.authorization?.split(' ')[1];
if (!token) {
return res.status(401).json({ error: 'No token provided' });
}
try {
const decoded = await verifyDeafAuthToken(token);
req.user = decoded;
next();
} catch (error) {
return res.status(403).json({ error: 'Invalid token' });
}
};
module.exports = deafAuthMiddleware;
const pinkSyncMiddleware = async (req, res, next) => {
const userId = req.user?.id;
if (userId) {
const preferences = await getPinkSyncPreferences(userId);
req.accessibilityPrefs = preferences;
}
next();
};
module.exports = pinkSyncMiddleware;
# Clone the repository
git clone https://github.com/pinkycollie/DEAF-FIRST-PLATFORM.git
cd DEAF-FIRST-PLATFORM
# Install dependencies
npm install
npm run validate:openapi
# Run all tests
npm test
# Run with coverage
npm run test:coverage
# Generate TypeScript SDK
npm run generate:sdk:typescript
# Generate Python SDK
npm run generate:sdk:python
See SDK.md for usage examples with TypeScript and Python.
Generate interactive API documentation:
# TypeScript SDK
openapi-generator-cli generate \
-i services/deafauth/openapi/openapi.yaml \
-g typescript-axios \
-o sdks/typescript/deafauth
# Python SDK
openapi-generator-cli generate \
-i services/deafauth/openapi/openapi.yaml \
-g python \
-o sdks/python/deafauth
Each service can be deployed as a Cloudflare Worker for edge computing benefits.
Use Redoc, Swagger UI, or other documentation tools to generate interactive API documentation.
Implement automated testing, validation, and deployment for all services.
services/*/openapi/openapi.yamlContributions are welcome! Please ensure all changes maintain accessibility standards and deaf-first principles.
See LICENSE file for details.
Built with deaf-first principles and a commitment to accessibility for all.
A deaf-first SaaS ecosystem with AI-powered workflows and comprehensive accessibility features.
π View Live Demo on GitHub Pages
The DEAF-FIRST Platform is a monorepo containing multiple services designed with accessibility as the primary focus. It includes authentication, real-time synchronization, AI workflows, and specialized accessibility nodes.
The platform features a modern, cutting-edge showcase interface that demonstrates all services and capabilities. See GITHUB-PAGES-SETUP.md for deployment details.
This is a monorepo managed with npm workspaces containing:
git clone https://github.com/pinkycollie/Deaf-First-Platform.git
cd Deaf-First-Platform
npm install
cp .env.example .env
# Edit .env with your configuration
npm run dev
npm run dev
npm run dev:frontend # Frontend only
npm run dev:backend # Backend only
npm run dev:deafauth # DeafAUTH only
npm run dev:pinksync # PinkSync only
npm run dev:fibonrose # FibonRose only
npm run dev:a11y # Accessibility nodes only
npm run build # Build all workspaces
npm run test # Run all tests
npm run test:e2e # Run end-to-end tests
npm run lint # Lint all workspaces
npm run format # Format code with Prettier
npm run type-check # TypeScript type checking
npm run db:setup # Setup databases
npm run db:migrate # Run migrations
npm run db:seed # Seed databases
npm run docker:up # Start all services with Docker
npm run docker:down # Stop Docker services
npm run docker:logs # View Docker logs
npm run build:docker # Build Docker images
The platform includes a comprehensive webhook system for real-time event notifications:
# Start backend with webhook support
npm run dev:backend
# Access webhook API at http://localhost:3000/api/webhooks
Features:
Documentation:
The platform includes Model Context Protocol (MCP) server support in several services:
To run MCP servers individually:
npm run mcp --workspace=services/deafauth
npm run mcp --workspace=services/pinksync
npm run mcp --workspace=services/fibonrose
npm run mcp --workspace=services/accessibility-nodes
npm run mcp --workspace=ai
Each workspace is independently versioned and can be developed, tested, and deployed separately.
Create a .env file in the root directory:
# Database
DATABASE_URL=postgresql://user:password@localhost:5432/deafirst
DEAFAUTH_DATABASE_URL=postgresql://user:password@localhost:5432/deafauth
# Redis
REDIS_URL=redis://localhost:6379
# JWT
JWT_SECRET=your-secret-key
JWT_EXPIRY=7d
#Paseto
# Frontend
VITE_API_URL=http://localhost:3000
VITE_WS_URL=ws://localhost:3001
# Services Pending
DEAFAUTH_PORT=3002
PINKSYNC_PORT=3003
FIBONROSE_PORT=3004
A11Y_PORT=3005
AI_PORT=8###
# MagicianCore Services
OPENAI_API_KEY=your-openai-key
# Webhook Configuration
WEBHOOK_SECRET=your-webhook-secret-key-here
We welcome contributions! Please read our CONTRIBUTING.md guide before submitting PRs.
git checkout -b feature/amazing-feature)npm run lint && npm run test)git commit -m 'feat: add amazing feature')git push origin feature/amazing-feature)MIT License - see LICENSE file for details
360 Magicians
A comprehensive platform built with deaf-first principles, providing accessible financial services, AI-powered assistance, and decentralized governance.
This repository contains OpenAPI specifications for all five core services of the MBTQ Universe:
Secure authentication system designed with deaf-first principles.
services/deafauth/https://api.mbtquniverse.com/authReal-time accessibility features and synchronization.
services/pinksync/https://api.mbtquniverse.com/syncDecentralized trust and verification layer.
services/fibonrose/https://api.mbtquniverse.com/blockchainIntelligent automation and assistance agents.
services/magicians/https://api.mbtquniverse.com/aiDecentralized governance and community management.
services/dao/https://api.mbtquniverse.com/daoβ All endpoints documented with OpenAPI 3.1
β Standardized responses across all services
β Shared DeafAUTH security scheme
β Tags, components, pagination, error schemas
β Cloudflare-friendly JSON-only style
β Automated API testing with Jest
β SDK generation (TypeScript + Python)
β Production-ready specifications
All MBTQ Universe services use DeafAUTH for authentication. Include the Bearer token in the Authorization header:
Authorization: Bearer <your_token>
curl -X POST https://api.mbtquniverse.com/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "secure_password"}'
curl -X POST https://api.mbtquniverse.com/auth/login \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "secure_password"}'
curl -X GET https://api.mbtquniverse.com/sync/status \
-H "Authorization: Bearer <your_access_token>"
Note: The endpoints below show full paths including the service prefix (e.g., /auth/, /sync/). In the OpenAPI specifications, these are defined as relative paths (e.g., /register, /status) with the base URL specified in the servers section.
POST /auth/register - User registrationPOST /auth/login - User authenticationGET /auth/verify - Token verificationPOST /auth/refresh - Token refreshGET /sync/status - Check synchronization statusPOST /sync/preferences - Update accessibility preferencesGET /sync/features - List available accessibility featuresPOST /blockchain/verify - Verify blockchain transactionGET /blockchain/trust-score - Get trust scorePOST /blockchain/record - Record new transactionComprehensive AI agent platform with 60+ endpoints including:
See 360Magicians README for complete endpoint list.
GET /dao/proposals - List governance proposalsPOST /dao/vote - Submit voteGET /dao/members - List DAO membersCopy .env.example to .env and configure your environment variables:
cp .env.example .env
See .env.example for all required configuration options.
Google Cloud Integration:
AI SDK Integration:
The platform uses multiple AI models for comprehensive coverage:
This platform integrates with several related repositories:
Run comprehensive API tests for all services:
# Install dependencies
npm install
# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Run specific service tests
npm test -- tests/deafauth
npm test -- tests/pinksync
npm test -- tests/magicians
See tests/README.md for detailed testing documentation.
Validate all OpenAPI specifications:
# Validate specs
npm run validate:openapi
All specifications are validated and ready for:
Generate client SDKs from OpenAPI specifications:
# Generate TypeScript SDK
npm run generate:sdk:typescript
# Generate Python SDK
npm run generate:sdk:python
# Generate all SDKs
npm run generate:sdk
Generated SDKs will be in the sdks/ directory. See SDK.md for detailed documentation and usage examples.
const deafAuthMiddleware = async (req, res, next) => {
const token = req.headers.authorization?.split(' ')[1];
if (!token) {
return res.status(401).json({ error: 'No token provided' });
}
try {
const decoded = await verifyDeafAuthToken(token);
req.user = decoded;
next();
} catch (error) {
return res.status(403).json({ error: 'Invalid token' });
}
};
module.exports = deafAuthMiddleware;
const pinkSyncMiddleware = async (req, res, next) => {
const userId = req.user?.id;
if (userId) {
const preferences = await getPinkSyncPreferences(userId);
req.accessibilityPrefs = preferences;
}
next();
};
module.exports = pinkSyncMiddleware;
# Clone the repository
git clone https://github.com/pinkycollie/DEAF-FIRST-PLATFORM.git
cd DEAF-FIRST-PLATFORM
# Install dependencies
npm install
npm run validate:openapi
# Run all tests
npm test
# Run with coverage
npm run test:coverage
# Generate TypeScript SDK
npm run generate:sdk:typescript
# Generate Python SDK
npm run generate:sdk:python
See SDK.md for usage examples with TypeScript and Python.
Generate interactive API documentation:
# TypeScript SDK
openapi-generator-cli generate \
-i services/deafauth/openapi/openapi.yaml \
-g typescript-axios \
-o sdks/typescript/deafauth
# Python SDK
openapi-generator-cli generate \
-i services/deafauth/openapi/openapi.yaml \
-g python \
-o sdks/python/deafauth
Each service can be deployed as a Cloudflare Worker for edge computing benefits.
Use Redoc, Swagger UI, or other documentation tools to generate interactive API documentation.
Implement automated testing, validation, and deployment for all services.
services/*/openapi/openapi.yamlContributions are welcome! Please ensure all changes maintain accessibility standards and deaf-first principles.
See LICENSE file for details.
Built with deaf-first principles and a commitment to accessibility for all.
e961430