This is the administrative panel of an e-commerce system, developed with React, TypeScript, and Chakra UI.
- React 18
- TypeScript
- Vite
- Chakra UI
- React Query
- React Hook Form
- React Router DOM
- Axios
- Yup (validation)
- Brazilian Utils (Brazilian utilities)
- Dinero.js (monetary value handling)
- Date-fns (date manipulation)
- User login
- Token management
- Route protection
- Enterprise listing
- Enterprise creation and editing
- Detailed view
- Category listing by enterprise
- Category creation and editing
- Hierarchical organization
- Product listing by category
- Product creation and editing
- Image upload
- Stock management
- Order listing
- Detailed order view
- Status tracking
- Promotion listing
- Promotion creation and editing
- Discount application
- Customer listing
- Customer creation and editing
- Order history by customer
- User listing
- User creation and editing
- Permission control
- Pagination
- Filters and search
- Form validation
- Input masks
- Monetary value handling
- Date formatting
- Image upload
- Freight calculation
- Clone the repository
git clone [repository-url]- Install dependencies
yarn install- Run the project in development mode
yarn dev- For production build
yarn buildsrc/
├── assets/ # Static resources
├── components/ # Reusable components
├── config/ # Project configurations
├── constants/ # Constants and enums
├── containers/ # Pages and containers
├── context/ # React contexts
├── enums/ # System enums
├── helpers/ # Helper functions
├── hooks/ # Custom hooks
├── models/ # Types and interfaces
├── services/ # API services
└── theme/ # Theme configurations
- JWT-based authentication
- Route protection
- Form validation
- Input sanitization
- Responsive design with Chakra UI
- Adaptation for different screen sizes
- RESTful API
- Error handling
- Automatic request retry
- Data caching with React Query
- Test implementation
- Performance improvements
- New features as needed