Track inventory using QR codes for rapid scanning and management.
Revolutionize your inventory management with our QR Code Inventory Management System. Easily track and manage your inventory by scanning QR codes. Streamline your operations, minimize errors, and increase efficiency.
The following environment variable is required in the client folder:
VITE_API_BASE_URL
: This variable should be set to the base URL of the API endpoint. It's used by the client to communicate with the server.
To set up this variable, create a .env
file in the client/
directory and add the following line:
VITE_API_BASE_URL=https://your-api-base-url.com/api
Make sure to replace https://your-api-base-url.com/api
with the actual base URL of your API.
The following environment variables are required in the server folder:
-
MONGO_URI
: This variable should be set to the connection URI for your MongoDB database. -
JWT_SECRET
: This variable should be set to the secret key used for signing JSON Web Tokens (JWTs) for authentication.
To set up these variables, create a .env
file in the server/
directory and add the following lines:
MONGO_URI=your-mongo-db-uri
JWT_SECRET=your-jwt-secret
Replace your-mongo-db-uri
with the actual connection URI for your MongoDB database, and your-jwt-secret
with the secret key you want to use for JWT signing.
Note: An example .env file is provided as .env.example in both the client/ and server/ directories. Make sure not to commit your .env
files with sensitive information to your version control system.
This project uses Yarn as package manager
npm install --global yarn
Install dependencies
yarn install
Clone the project
git clone https://github.com/MobinurRahaman/qr-code-inventory-management-system
cd qr-code-inventory-management-system
Install dependencies
yarn install
yarn add -D concurrently -W
Add .env files in both client/ and server/ directories as described in the Environment Variables section
Start the server
yarn run start:dev
To deploy this project run
yarn deploy