Inventree is a simple inventory management platform. Create and manage products, product categories, and the entire inventory.
- Docker & Docker Compose
- Node.js (built with v18.20.4)
- Express
- Node
- Sequelize
- Clone the repository:
git clone <repo_url> cd inventory-management-api
- Start services using Docker Compose
docker compose up --build
- Run database migrations
docker-compose exec app npx sequelize-cli db:migrate
- GET
/api/products: List all products - POST
/api/products: Create a new product - GET
/api/products/:productId: Get details of product based on it's id - PUT
/api/products/:productId: Update a product based on it's id - DELETE
/api/products/:productId: Delete a product based on it's id
- GET
/api/categories: List all categories - POST
/api/categories: Create a new category - GET
/api/categories/:id: Get category details - PUT
/api/categories/:id: Update category details - DELETE
/api/categories/:id: Delete a category
- GET
/api/inventory: List all inventory items - POST
/api/inventory: Add new inventory entry - GET
/api/inventory/:id: Get inventory item details - PUT
/api/inventory/:id: Update inventory item - DELETE
/api/inventory/:id: Delete inventory item