This project is a modern web application built with the following technologies:
- JavaScript: Core programming language.
- React: Library for building user interfaces.
- Tailwind CSS: Utility-first CSS framework.
- Python: Backend programming language.
- Flask: Lightweight WSGI web application framework for Python.
- Llama 3.1 8b-Intruct: The smallest but powerfull model made by Meta.
- Functional and Declarative Programming: Emphasis on functional components and hooks.
- Responsive Design: Mobile-first approach using Tailwind CSS.
- State Management: Global state managed with Zustand.
- Code Splitting: Implemented with React.lazy() and Suspense.
- Form Handling: Controlled components and validation with react-hook-form and Zod.
- Error Handling: Comprehensive error handling and logging.
- Accessibility: Semantic HTML and ARIA attributes for better accessibility.
- Testing: Unit and integration tests with Jest and React Testing Library.
- Internationalization: Support for multiple languages using react-intl or next-i18next.
- AI Integration: Backend powered by advanced AI models for intelligent responses and interactions.
plaintext
project-root/
├── client/
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ │ ├── ui/
│ │ │ │ ├── button.jsx
│ │ │ │ ├── scroll-area.jsx
│ │ │ ├── chatBubble.jsx
│ │ │ ├── chatHistory.jsx
│ │ │ ├── newChat.jsx
│ │ │ ├── question.jsx
│ │ ├── App.css
│ │ ├── App.jsx
│ │ ├── index.css
│ ├── package.json
│ ├── tailwind.config.js
├── server/
│ ├── agents/
│ │ ├── assistant.py
│ ├── main.py
│ ├── requirements.txt
├── .env
├── README.md
-
Clone the repository:
git clone https://github.com/your-username/your-repo.git cd your-repo
-
Install dependencies for the client:
cd client npm install
-
Install dependencies for the server:
cd ../server pip install -r requirements.txt
-
Run the development server for the client:
cd ../client npm run dev
-
Run the development server for the server:
cd ../server python main.py
-
Open http://localhost:3000 in your browser for the client and http://localhost:8080 for the server.
npm run dev
: Start the development server.npm run build
: Build the application for production.npm run start
: Start the production server.npm run lint
: Run ESLint to check for code quality issues.npm run test
: Run tests with Jest.
python main.py
: Start the Flask server.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or feedback, please contact jmrodriguezm13@gmail.com.