A modern and interactive chat bot application built with React, TypeScript, and Vite. This project features a beautiful UI with animations, dark mode support, and a responsive design.
- Modern and responsive UI
- Dark mode support
- Smooth animations with Framer Motion
- Toast notifications
- Accessible components with Radix UI
- Type-safe development with TypeScript
- State management with Zustand
- Beautiful animations with Lottie
- Code quality tools (ESLint, Prettier, Husky)
The project was developed using the following technologies and libraries:
- React - A JavaScript library for building user interfaces
- TypeScript - JavaScript with syntax for types
- Vite - Next Generation Frontend Tooling
- Tailwind CSS - A utility-first CSS framework
- Radix UI - Unstyled, accessible components
- Framer Motion - A production-ready motion library for React
- Zustand - A small, fast and scalable state management solution
- LottieFiles - Lottie animations for React
- Sonner - Toast notifications
This project follows modern best practices to ensure code quality, consistency, and maintainability:
- Husky Automates pre-commit hooks to enforce standards before pushing changes.
- ESLint Ensures consistent code quality by identifying and fixing linting issues.
- Prettier Automatically formats code to maintain a uniform style.
- Commitlint Enforces a standardized commit message format.
- Lint-staged Runs linters on staged files before committing, ensuring only formatted and checked code is pushed.
/chat-bot-experiment
βββ src/ # Source files
β βββ components/ # React components
β β βββ chat/ # Chat-related components
β β βββ ui/ # Reusable UI components
β βββ constants/ # Application constants
β βββ hooks/ # Custom React hooks
β βββ lib/ # Shared libraries, helpers, and integrations
β βββ store/ # Zustand store and state management
β βββ styles/ # Global styles and CSS
β βββ types/ # TypeScript type definitions
β βββ utils/ # Utility functions and helper methods
β βββ App.tsx # Root application component
β βββ index.css # Global CSS styles
β βββ main.tsx # Application entry point
βββ public/ # Static files
βββ components.json # Radix UI configuration
βββ vite.config.ts # Vite configuration
βββ tsconfig.json # TypeScript configuration
βββ package.json # Project dependencies
βββ README.md # Project documentation
- Clone the repository:
$ git clone git@github.com:dominguetigs/chat-bot-experiment.git
- Run the Application:
# Install the dependencies
$ npm install
# Initialize the application
$ npm run dev
# Initialize the application and expose it on your local network IP address
$ npm run dev:host
This project is under the MIT license. See the LICENSE file for more details.