How nhattruongniit/react-antd-chart works
Project type and purpose
• This is a single-page application (SPA) built with React, TypeScript, and Vite. It uses Redux for state management, Ant Design for UI components, Tailwind CSS and PostCSS for styling, and ApexCharts for data visualization. It’s intended to be deployed as a static site (Netlify is referenced in netlify.toml).
File structure
• Top-level config and build files:
• .eslintrc.cjs, tsconfig.json/app/node.json, postcss.config.js, tailwind.config.js, vite.config.ts
• package.json (dependencies, scripts), netlify.toml (deployment)
• index.html (SPA entry point)
• Public assets:
• public/ (static files served as-is)
• Source code under src/:
• main.tsx → ReactDOM.render, provider wiring (Redux, router)
• App.tsx & App.css → root component, global styles
• layouts/main-layout.tsx → shell around pages (navigation, header/footer)
• pages/… → route-based views (chart & project)
• components/chart-render.tsx → specialized visualization component wrapping ApexCharts
• assets/ → images or other static media
• index.css → base Tailwind + global resets
README for additional insights
• Confirms use of React+TypeScript, AntD, Redux, and ApexCharts. No backend code exists here, so any data comes from external APIs or mock services.