A modern AI-powered knowledge consultation platform built with React and Vite.
- Multi-Domain AI Consultation: Access specialized AI assistants across various domains
- Interactive Chat Interface: Real-time conversations with domain-specific AI experts
- Credit-Based System: Manage usage with a flexible credit system
- Conversation History: Save and manage your consultation sessions
- User Dashboard: Track usage analytics and manage account settings
- Responsive Design: Optimized for desktop and mobile devices
- Framework: React 18 with functional components and hooks
- Build Tool: Vite for fast development and building
- Styling: Tailwind CSS with custom design system
- State Management: Redux Toolkit for complex state management
- Routing: React Router DOM for navigation
- Icons: Lucide React for consistent iconography
- Animation: Framer Motion for smooth interactions
- Node.js (version 16 or higher)
- npm or yarn package manager
- Clone the repository:
git clone <repository-url>
cd usmbok- Install dependencies:
npm install- Set up environment variables:
cp .env.example .envUpdate the .env file with your configuration.
- Start the development server:
npm startThe application will be available at http://localhost:3000.
npm run buildThe build files will be generated in the dist directory.
npm run servesrc/
├── components/ # Reusable UI components
│ ├── ui/ # Base UI components (Button, Input, etc.)
│ └── ...
├── pages/ # Page components
│ ├── user-dashboard/ # Dashboard functionality
│ ├── ai-chat-interface/ # Chat interface
│ ├── domain-selection/ # Domain selection
│ └── ...
├── styles/ # Global styles and Tailwind configuration
├── utils/ # Utility functions
├── App.jsx # Main application component
├── Routes.jsx # Application routing configuration
└── index.jsx # Application entry point
npm start- Start development servernpm run build- Build for productionnpm run serve- Preview production buildnpm run lint- Run ESLintnpm run test- Run tests
- Fork the repository
- Create a feature branch:
git checkout -b feature-name - Commit your changes:
git commit -m 'Add feature' - Push to the branch:
git push origin feature-name - Submit a pull request
This project is licensed under the MIT License. See the LICENSE file for details.
For support and questions, please contact our team or create an issue in the repository.