This project consists of two main features:
-
Custom Table:
- A dynamic table built in React without using external libraries or packages.
- Fetches data from a provided API with support for pagination and search.
- The table is displayed below a reference image.
-
T-Shirt Customizer:
- Enables users to upload a logo and position it dynamically on a predefined t-shirt image.
- Users can drag, drop, and resize the logo while maintaining its aspect ratio.
- Generates a final image combining the t-shirt and logo.
- API Integration: Fetches data from https://api.razzakfashion.com.
- Parameters: Supports
paginate
andsearch
query parameters for data filtering. - Dynamic Table: Displays data dynamically based on the API response.
- Pagination: Allows navigation through paginated data.
- Search: Provides a search bar for filtering results by a keyword.
- Predefined T-Shirt Image: A base t-shirt image is used for customization.
- Drag-and-Drop: Users can drag and position the uploaded logo anywhere on the t-shirt.
- Resizable Logo: Users can resize the logo while maintaining its aspect ratio.
- Final Image Generation: Combines the t-shirt and logo into a final image for download or preview.
- Clone the repository:
git clone https://github.com/shamsad-alam-meraj/print-manzil-task.git
- Navigate to the project directory:
cd print-manzil-task
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and navigate to:
http://localhost:5173/
Access the live demo here: Live Site Link