Inventory management system for The Market of Virginia Tech.
- Node.js
- Python 3.10+
- MySQL 8.0+
- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install
- Set the
GEMINI_API_KEYin frontend/.env.local to your Gemini API key - Run the app:
npm run dev
The frontend will be available at http://localhost:5173
-
Navigate to the backend directory:
cd backend -
Create and activate a virtual environment:
python -m venv venv # Windows venv\Scripts\activate # Mac/Linux source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.envfile in thebackend/directory and add your database password:DB_PASSWORD=your_mysql_password -
Make sure your MySQL server is running and the
simplystockedschema exists. Run the database dump using MySQL Workbench -
Start the API server:
uvicorn main:app --reload
The API will be available at http://localhost:8000
Interactive API docs: http://localhost:8000/docs