An inventory management system that helps businesses manage their inventory.
I created this app to assist my family in our business by tracking and monitoring the levels of stock of items in the store. This way, they do not need to strain their minds to remember which items need restocking, and it prevents them from repeatedly writing long lists of items.
-
Create Virtual Environment:
python -m venv .venv
-
Activate Virtual Environment:
. .venv/bin/activate -
Install Requirements:
pip install -r requirements.txt
-
Database Setup:
- Insert your database in the project directory.
-
Configure Database in Project Directory Settings:
- Navigate to the project directory settings and configure your database settings.
-
Environment Variables:
- Insert a
.envfile with all the secret keys needed:
SECRET_KEY=your_own_secret_key DEBUG=your_own ORIGINS=http://your_own_origins - Insert a
-
Run Migrations:
python manage.py makemigrations
-
Apply Migrations:
python manage.py migrate
-
Run the Server:
python manage.py runserver
-
Install Dependencies:
npm install
-
Environment Variables:
-
Create a
.envfile in the frontend directory. -
Insert the API base endpoint in the
.envfile as follows:VITE_REACT_BASE_URL='http://your-api-base-url.com'
- Run the Client:
npm run dev