A smart inventory management application powered by AI.
This project uses React, Vite, and Tailwind CSS. The application connects to a Supabase backend for data persistence and authentication.
Before you begin, ensure you have the following installed:
Follow these steps to get the project up and running on your local machine.
-
Clone the repository (if you haven't already):
git clone <YOUR_GIT_URL> cd inventory-insight-main
-
Install dependencies:
npm install
This project requires environment variables to connect to Supabase.
-
Create a file named
.env.localin the root directory of the project. -
Copy and paste the following content into the file:
# Supabase Configuration # You can find these values in your Supabase project dashboard (Settings -> API) VITE_SUPABASE_URL=https://<YOUR_PROJECT_ID>.supabase.co VITE_SUPABASE_ANON_KEY=<YOUR_SUPABASE_ANON_KEY>
Note: The
.env.localfile is ignored by Git to protect your API keys. Do not commit this file to version control.
Start the development server:
npm run devThe application will be available at http://localhost:3001 (or another port if 3001 is busy).
To build the application for production deployment:
npm run buildThe build artifacts will be stored in the dist/ directory.
- Vite - Frontend Tooling
- React - UI Library
- TypeScript - Type Safety
- Tailwind CSS - Styling
- shadcn/ui - UI Components
- Supabase - Backend & Database