A modern React-based client application for ChainEstate, built with TypeScript, Vite, and Tailwind CSS.
- React 19 - UI library
- TypeScript - Type safety
- Vite - Build tool and dev server
- Tailwind CSS - Utility-first CSS framework
- React Router DOM - Client-side routing
- ESLint - Code linting
- Prettier - Code formatting
ChainEstate_Client/
├── client/ # Main application directory
│ ├── node_modules/ # Dependencies (git-ignored)
│ ├── public/ # Static assets
│ │ └── vite.svg # Vite logo
│ ├── src/ # Source code
│ │ ├── assets/ # Images, fonts, and other static assets
│ │ ├── components/ # Reusable React components
│ │ ├── hooks/ # Custom React hooks
│ │ ├── lib/ # Utility functions and helpers
│ │ │ └── utils.ts # Utility functions
│ │ ├── pages/ # Page components
│ │ ├── types/ # TypeScript type definitions
│ │ ├── App.css # Global app styles
│ │ ├── App.tsx # Main app component with routing
│ │ ├── index.css # Global styles and Tailwind imports
│ │ └── main.tsx # Application entry point
│ ├── .env # Environment variables (git-ignored)
│ ├── .gitignore # Git ignore rules
│ ├── components.json # Component configuration
│ ├── eslint.config.js # ESLint configuration (legacy)
│ ├── eslint.config.ts # ESLint configuration
│ ├── index.html # HTML template
│ ├── package.json # Project dependencies and scripts
│ ├── package-lock.json # Dependency lock file
│ ├── tsconfig.json # TypeScript configuration
│ ├── tsconfig.app.json # TypeScript app configuration
│ ├── tsconfig.node.json # TypeScript node configuration
│ └── vite.config.ts # Vite configuration
└── README.md # Project documentation
- Node.js (v18 or higher recommended)
- npm or yarn package manager
- Navigate to the client directory:
cd client- Install dependencies:
npm install- Create a
.envfile in theclientdirectory (if needed):
touch .envStart the development server:
npm run devThe application will be available at http://localhost:5173 (or the port specified by Vite).
Build the application for production:
npm run buildThe production build will be in the dist directory.
Preview the production build locally:
npm run previewRun ESLint to check for code issues:
npm run lintnpm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
- ⚡ Fast development with Vite
- 🎯 TypeScript for type safety
- 🎨 Tailwind CSS for styling
- 🧩 Component-based architecture
- 🛣️ React Router for navigation
- 📦 Path aliases configured (
@points tosrc)
This project is private and proprietary.