A comprehensive business formation platform for deaf entrepreneurs, providing tools for business development, document management, and self-employment services.
The demo page provides an interactive overview of the platform features, including:
The project is organized into a clean, modular structure:
โโโ src/ # Reorganized source code
โ โโโ api/ # API layer
โ โ โโโ v1/ # API version 1
โ โ โโโ routes/ # API route handlers
โ โ โ โโโ health.ts # Health check endpoints
โ โ โ โโโ business.ts # Business Magician endpoints
โ โ โ โโโ v4deaf.ts # V4Deaf endpoints
โ โ โ โโโ pinksync.ts # PinkSync endpoints
โ โ โ โโโ automation.ts # PinkFlow automation endpoints
โ โ โโโ index.ts # API router entry point
โ โโโ modules/ # Feature modules
โ โ โโโ v4deaf/ # VR4Deaf module (VR counselor integration)
โ โ โโโ business-magician/ # Business formation & analytics
โ โ โโโ pinksync/ # Deaf-first platform transformation
โ โ โโโ pinkflow/ # Automation & workflow orchestration
โ โโโ shared/ # Shared resources
โ โ โโโ types/ # Common type definitions
โ โ โโโ utils/ # Utility functions
โ โ โโโ config/ # Configuration management
โ โโโ index.ts # Main entry point
โโโ client/ # Frontend React application (APP)
โ โโโ src/
โ โโโ components/ # UI components
โ โโโ hooks/ # Custom React hooks
โ โโโ lib/ # Utilities and API clients
โ โโโ pages/ # Page components
โโโ server/ # Legacy server (being migrated)
โ โโโ routes/ # API routes
โ โโโ services/ # Business logic
โโโ shared/ # Legacy shared code
โโโ schema.ts # Database schema definitions
Business formation and management services including:
VR counselor integration and accessibility services:
Deaf-first platform transformation:
Automation and workflow orchestration:
git clone https://github.com/pinkycollie/Business-Magician.git
cd Business-Magician
npm install
cp .env.example .env
# Edit .env with your configuration
npm run dev
We provide a Docker Compose configuration for easy local development:
docker-compose up -d
Visit http://localhost:8080 to see the application.
Create a .env file in the project root with the following variables:
# Database connection
DATABASE_URL=postgres://username:password@localhost:5432/business_magician
# Application settings
NODE_ENV=development
PORT=5000
โโโ client/ # Frontend React application
โ โโโ src/
โ โ โโโ components/ # UI components
โ โ โโโ hooks/ # Custom React hooks
โ โ โโโ lib/ # Utilities and API clients
โ โ โโโ pages/ # Page components
โโโ server/ # Backend Express application
โ โโโ routes/ # API routes
โ โโโ services/ # Business logic
โ โโโ index.ts # Server entry point
โโโ shared/ # Shared code between client and server
โ โโโ schema.ts # Database schema definitions
โโโ docs/ # GitHub Pages documentation
โโโ scripts/ # Utility scripts
โโโ views/ # HTMX view templates
We use Drizzle ORM for database operations. Some useful commands:
# Push schema changes to database
npm run db:push
# Generate migration files
npm run db:generate
# Open Drizzle Studio (database UI)
npm run db:studio
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run start |
Run production build |
npm run typecheck |
Run TypeScript type checking |
npm run lint |
Run linting |
npm run db:push |
Push schema changes to database |
npm run db:studio |
Open database management UI |
For quick frontend prototyping, you can run the demo HTML files directly:
# Open the demo page in your browser
open 360-magician-demo.html
node test-server.js
Please see CONTRIBUTING.md for guidelines on contributing to this project.