This is a React TypeScript application for managing inventory products with a modern web interface and responsive design.
Before you begin, ensure you have the following installed on your system:
- Node.js 18+ or higher
- npm 9.0+ (or use the included package manager)
- Git for cloning the repository
git clone https://github.com/egvr2002/InventoryManagerFE
cd inventory-manager-feCopy the environment template and configure your API URL:
cp .env.template .envEdit the .env file and set your backend API URL:
VITE_API_URL=http://localhost:9090/apiNote: Make sure your backend server is running on the specified URL before starting the frontend.
You can run the project using npm:
npm install
npm run devnpm run build
npm startThe application will start on port 8080 by default.
The application provides a modern web interface for inventory management:
- Application: http://localhost:8080
- API Integration: Connects to backend at http://localhost:9090/api
You can run the tests using the following command:
npm run testsrc/
├── components/
│ ├── products/ # Product management components
│ ├── shared/ # Reusable UI components
│ └── ui/ # Base UI components (shadcn/ui)
├── store/
│ └── slices/
│ └── inventory/ # Redux state management
├── api/ # API configuration and services
├── interfaces/ # TypeScript type definitions
├── lib/ # Utility functions
└── config/ # Application configuration
- React 19.1.0 with TypeScript
- Vite 6.3.5 for build tooling
- Redux Toolkit for state management
- TailwindCSS 4.1.10 for styling
- Radix UI for accessible components
- Axios for HTTP client
- ESLint & Prettier for code quality