| Frontend | Backend | AI & Security |
|---|---|---|
| 🚀 Modern React with TypeScript | ⚡ Express.js Server | 🤖 Google AI Integration |
| 🎨 Tailwind CSS & Radix UI | 🔒 Passport Authentication | 🔄 Real-time WebSocket |
| 📱 Responsive Design | 💾 In-memory Session Management | 📊 Data Visualization |
- React 18 - Latest features and concurrent rendering
- TypeScript - Type-safe development
- Tailwind CSS - Utility-first styling
- Radix UI - Accessible component primitives
- React Query - Powerful data fetching
- Wouter - Lightweight routing
- Express.js - Fast, unopinionated web framework
- TypeScript - Type-safe backend development
- Passport.js - Authentication middleware
- WebSocket - Real-time communication
- In-memory Storage - Session management
-
Clone the repository
git clone [repository-url] cd TruthMatrix -
Install dependencies
npm install
-
Environment Setup Create a
.envfile in the root directory:SESSION_SECRET=your_session_secret GOOGLE_AI_API_KEY=your_google_ai_api_key
-
Start Development
npm run dev
TruthMatrix/
├── client/ # Frontend React application
│ ├── src/ # Source files
│ ├── public/ # Static assets
│ └── tests/ # Frontend tests
├── server/ # Backend Express application
│ ├── src/ # Source files
│ ├── routes/ # API routes
│ └── tests/ # Backend tests
├── shared/ # Shared types and utilities
├── attached_assets/# Static assets
└── .config/ # Configuration files
TruthMatrix is designed to provide unbiased information synthesis through:
-
Credible Source Integration
- Curated list of trusted information sources
- Direct question answering capability
- Keyword-based information retrieval
-
AI-Powered Analysis
- Intelligent information synthesis
- Fact-based summarization
- Transparent source attribution
-
User Experience
- Clean, intuitive interface
- Real-time updates
- Responsive design for all devices
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run start |
Start production server |
npm run check |
Type check |
npm run test |
Run tests |
We welcome contributions! Please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
This version uses in-memory storage for session management and temporary data. All data is cleared on server restart.