This is an inventory management system designed to manage products, categories, suppliers, and other functionalities related to inventory administration.
The Inventory Management System allows users to manage products and track stock levels efficiently. It offers a user-friendly interface to handle inventory operations, such as adding new products, editing existing items, categorizing products, and monitoring stock levels in real-time.
-
Clone the repository:
git clone https://github.com/amorindev/backend-inventory.git
-
Download dependencies:
go mod tidy
-
Set environment variables, add a
.env
file based onenv.example
:DB_PASSWORD=your_password DB_PORT=5432 DB_HOST=your_host DB_USER=your_user DB_NAME=your_db_name # Development environment dev-prod GIN_MODE=debug # or release BACK_ENV=dev PORT=7000 CORS=http://localhost:5173
-
Run the project:
go run main.go