CancerDAO Platform is a revolutionary full-stack web application dedicated to cancer prevention and treatment through cutting-edge technology. Built with modern React frontend and Node.js backend, the platform combines AI-powered cancer prevention, blockchain-based medical data management, and community-driven healthcare solutions.
- π€ AI-Powered Health Solutions: 9 specialized AI agents for comprehensive cancer care
- π Blockchain Data Management: Secure, decentralized medical data storage
- π Bilingual Support: Full Chinese/English internationalization
- π₯ Community-Driven: Patient support and research collaboration
- π± Responsive Design: Mobile-first approach with modern UI
- Framework: React 18 with TypeScript
- Build Tool: Vite for fast development and optimized builds
- UI Library: Tailwind CSS + shadcn/ui components
- State Management: TanStack Query for server state
- Routing: React Router for client-side navigation
- Charts: Recharts for data visualization
- Forms: React Hook Form with Zod validation
- Runtime: Node.js with Express.js
- Database: PostgreSQL with Drizzle ORM
- Session: PostgreSQL-backed sessions
- Email: Nodemailer for notifications
- Security: Helmet, CORS, Rate limiting
- Language: TypeScript with strict configuration
- Database: Drizzle Kit for migrations
- Styling: PostCSS with Tailwind CSS
- Package Manager: pnpm (recommended)
- Node.js 18+
- pnpm (recommended) or npm
- PostgreSQL database (optional for development)
-
Clone the repository
git clone https://github.com/chord233/CancerDAO.git cd CancerDAO
-
Install dependencies
pnpm install
-
Environment setup
cp .env.example .env # Edit .env with your configuration
-
Database setup (optional)
pnpm db:push
-
Start development server
pnpm dev
The application will be available at
http://localhost:5000
pnpm dev # Start development server
pnpm build # Build for production
pnpm start # Start production server
pnpm check # Type checking
pnpm db:push # Push database schema
CancerDAO/
βββ client/ # Frontend React application
β βββ src/
β β βββ components/ # Reusable UI components
β β βββ pages/ # Page components
β β βββ contexts/ # React contexts
β β βββ hooks/ # Custom hooks
β β βββ lib/ # Utility functions
β βββ public/ # Static assets
βββ server/ # Backend Express application
β βββ handlers/ # Route handlers
β βββ utils/ # Server utilities
β βββ index.ts # Server entry point
βββ shared/ # Shared types and schemas
βββ Figma/ # Design assets
The platform uses a strict color palette:
- Primary Purple:
#e7d1ff
,#c9a4ff
- Accent Yellow:
#fad000
- Accent Red:
#fc593d
- Base: Black and white
- Built on Radix UI primitives for accessibility
- Consistent design tokens across all components
- Mobile-first responsive design
The platform features 9 specialized AI agents:
- Report Bot - Medical report analysis
- Trial Bot - Clinical trial matching
- Clinical Bot - Clinical decision support
- Content Bot - Educational content generation
- Longevity Bot - Longevity and prevention
- Health Bot - General health guidance
- AMA Bot - Ask Me Anything support
- Research Bot - Research assistance
- Support Bot - Patient support
The platform supports full bilingual operation:
- Languages: Chinese (Simplified) and English
- Coverage: All UI text, content, and documentation
- Implementation: Custom language context with React
NODE_ENV=development
DATABASE_URL=your_postgresql_url
SESSION_SECRET=your_session_secret
EMAIL_HOST=your_email_host
EMAIL_USER=your_email_user
EMAIL_PASS=your_email_password
The application uses Drizzle ORM with PostgreSQL:
- Subscribers: Newsletter email management
- Contact Messages: User inquiries and partnerships
- Sessions: User session management
pnpm build
pnpm start
# Dockerfile example
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 5000
CMD ["npm", "start"]
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Michael Yang - Founder & CEO
- YoSean Wang - Co-founder & CTO
- Zhiwei Bao - Co-founder & Head of Research
- Website: https://cancerdao.org
- Email: [email protected]
- Twitter: @chord244
- GitHub: https://github.com/chord233
- LinkedIn: https://linkedin.com/in/chord233
Built with β€οΈ for the global cancer prevention community