This project is a modern e-commerce dashboard built with React, TypeScript, and various other technologies. It provides a comprehensive interface for managing products, viewing orders, and handling customer interactions in an e-commerce setting.
MEDIUM link here
- Product management (listing, adding, editing, deleting)
- Shopping cart functionality
- Checkout process
- Order history
- User authentication (if implemented)
- Responsive design for various screen sizes
- React
- TypeScript
- Zustand (for state management)
- React Query (for data fetching and caching)
- Zod (for schema validation)
- Tailwind CSS (for styling)
- shadcn/ui (for UI components)
- Vite (as build tool)
- json-server (for mock backend)
Before you begin, ensure you have the following installed:
- Node.js (v14 or later)
- npm or yarn
-
Clone the repository:
git clone https://github.com/your-username/e-commerce-dashboard.git cd e-commerce-dashboard
-
Install dependencies:
npm install
or if you're using yarn:
yarn
-
Start the mock backend server:
npx json-server --watch db.json --port 3001
-
Start the development server:
npm run dev
or with yarn:
yarn dev
-
Open your browser and visit
http://localhost:3000
to view the application.
src/
├── features/
│ ├── products/
│ ├── cart/
│ ├── checkout/
│ └── ...
├── common/
│ ├── components/
│ ├── hooks/
│ └── utils/
├── pages/
├── styles/
└── App.tsx
npm run dev
: Runs the app in development modenpm run build
: Builds the app for production
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Leandro M. F. Machado - fahurleandro@gmail.com
Project Link: https://github.com/your-username/e-commerce-dashboard