A modern, efficient inventory management system specifically designed for tyre businesses. Built with React, TypeScript, and Vite for lightning-fast performance and excellent developer experience.
Tyre Manager is a comprehensive web application designed to streamline tyre inventory management for automotive businesses, dealerships, and tyre shops. The system provides real-time inventory tracking, stock management, and business analytics in a user-friendly interface.
Managing tyre inventory manually is time-consuming and error-prone. This application solves common challenges:
- β Real-time stock level monitoring
- β Automated low-stock alerts
- β Easy search and filter capabilities
- β Quick data entry and updates
- β Professional reporting and analytics
-
π¦ Inventory Management
- Add, edit, and delete tyre records
- Track stock quantities in real-time
- Categorize by brand, size, type, and model
- Monitor the monthly warrantees and claims and their status information
-
π Search & Filter
- Advanced search functionality
- Filter by multiple criteria (brand, size, season, etc.)
- Sort by price, quantity, or date added
- Quick lookup by tyre code/SKU
-
π Analytics & Reports
- Stock level overview dashboard
- Low inventory alerts
- Sales trends and analytics
- Export reports to CSV/PDF
-
πΌ Business Management
- Supplier contact management
- Purchase order tracking
- Price history tracking
- Profit margin calculations
- β‘ Lightning Fast - Built with Vite for instant HMR (Hot Module Replacement)
- π¨ Modern UI - Clean, responsive design that works on all devices
- π Type-Safe - Full TypeScript implementation for reliability
- π― Optimized - Production-ready with code splitting and lazy loading
- π± Responsive - Mobile-first design approach
- Framework: React 18+
- Language: TypeScript 5.0+
- Build Tool: Vite 5.0+
- Styling: CSS3 / CSS Modules (customizable)
- Linting: ESLint
- Package Manager: npm / yarn / pnpm
- Version Control: Git & GitHub
- Code Quality: ESLint + TypeScript strict mode
tyreinventorymanager/
βββ public/ # Static assets
β βββ favicon.ico # App icon
βββ src/ # Source code
β βββ components/ # React components
β β βββ Dashboard/ # Dashboard components
β β βββ Inventory/ # Inventory management
β β βββ Reports/ # Reporting components
β β βββ shared/ # Reusable components
β βββ hooks/ # Custom React hooks
β βββ types/ # TypeScript type definitions
β βββ utils/ # Helper functions
β βββ styles/ # Global styles
β βββ App.tsx # Main App component
β βββ main.tsx # Application entry point
β βββ vite-env.d.ts # Vite type definitions
βββ .env # Environment variables (not tracked)
βββ .env.example # Environment variables template
βββ .gitignore # Git ignore rules
βββ eslint.config.js # ESLint configuration
βββ index.html # HTML entry point
βββ package.json # Project dependencies
βββ tsconfig.json # TypeScript base config
βββ tsconfig.app.json # TypeScript app config
βββ tsconfig.node.json # TypeScript Node config
βββ vite.config.ts # Vite configuration
βββ README.md # This file
Ensure you have the following installed on your system:
- Node.js (version 18.0 or higher)
- npm (comes with Node.js) or yarn or pnpm
- Git (for cloning the repository)
-
Clone the repository
git clone https://github.com/parmesh-kumar-ai/tyreinventorymanager.git cd tyreinventorymanager -
Install dependencies
npm install # or yarn install # or pnpm install
-
Set up environment variables
cp .env.example .env
Edit
.envfile and add your configuration:VITE_API_URL=your_api_url_here VITE_APP_NAME=Tyre Inventory Manager # Add other environment variables as needed
-
Start the development server
npm run dev # or yarn dev # or pnpm dev
-
Open your browser
Navigate to http://localhost:5173 to see the application!
| Command | Description |
|---|---|
npm run dev |
Start development server with HMR on localhost:5173 |
npm run build |
Build the production-ready application |
npm run preview |
Preview the production build locally |
npm run lint |
Run ESLint to check code quality |
npm run type-check |
Run TypeScript compiler to check types |
The application uses environment variables for configuration. Create a .env file based on .env.example:
# API Configuration
VITE_API_URL=http://localhost:3000/api
VITE_API_KEY=your_api_key_here
# Application Settings
VITE_APP_NAME=Tyre Inventory Manager
VITE_APP_VERSION=1.0.0
# Feature Flags
VITE_ENABLE_ANALYTICS=true
VITE_ENABLE_REPORTS=trueNote: All environment variables must be prefixed with VITE_ to be accessible in the client-side code.
- Click the "Add New Tyre" button on the dashboard
- Fill in the required information:
- Purchase Date
- Store/Shop (e.g., Shop1, Shop2, Store1, Store2)
- Brand (e.g., Michelin, Bridgestone, Goodyear)
- Model (e.g., Pilot Sport 4)
- Size (e.g., 225/45R17)
- Quantity in stock
- Click "Save" to add to inventory
- Use the search bar to find tyres by brand, model, or size
- Apply filters for quick categorization
- Click on any item to view detailed information
- Update quantities when tyres are sold or received
- Set low-stock alerts notifications in Dashboard
- Generate reports for accounting and analysis
The application uses modular CSS. To customize the appearance:
- Edit global styles in
src/styles/globals.css - Modify component-specific styles in their respective CSS files
- Update color scheme in CSS variables:
:root {
--primary-color: #0506A1;
--secondary-color: #646cff;
--background-color: #ffffff;
--text-color: #213547;
}- Create new components in
src/components/ - Add type definitions in
src/types/ - Create custom hooks in
src/hooks/ - Update routing if needed
npm run buildThis creates an optimized production build in the dist/ directory.
npm run previewVercel (Recommended)
- Push your code to GitHub
- Import project in Vercel
- Configure environment variables
- Deploy automatically
Netlify
- Connect your GitHub repository
- Build command:
npm run build - Publish directory:
dist - Add environment variables
- Deploy
Other Options
- AWS Amplify
- GitHub Pages
- Railway
- Self-hosted with Nginx/Apache
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch
git checkout -b feature/AmazingFeature
- Commit your changes
git commit -m 'Add some AmazingFeature' - Push to the branch
git push origin feature/AmazingFeature
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
"Manage your tyre inventory easily and efficiently!"

