StockAPI
is a comprehensive solution for managing inventory, sales, and purchases. It allows you to create, update, and track product stocks efficiently, ensuring seamless integration with sales and purchase processes.
- Product Management: Add, update, and manage products in the inventory.
- Sales Handling: Process and record sales, automatically updating product quantities.
- Purchase Handling: Record purchases and update inventory levels.
- User Authentication: Secure user authentication for accessing the API.
- Error Handling: Robust error handling for managing insufficient stock levels and invalid requests.
-
Clone the Repository
git clone https://github.com/yourusername/stockApi.git cd stockApi
.env
.gitignore
index.js
package.json
readme.md
src/
config/
dbConnection.js
swagger.json
controllers/
auth.js
brand.js
category.js
firm.js
product.js
purchase.js
sale.js
token.js
user.js
helpers/
passwordEncrypt.js
sendMail.js
middlewares/
authentication.js
errorHandler.js
findSearchSortPage.js
logger.js
permissions.js
upload.js
models/
brand.js
category.js
firm.js
product.js
purchase.js
sale.js
token.js
user.js
routes/
auth.js
brand.js
category.js
document.js
firm.js
index.js
product.js
purchase.js
sale.js
token.js
user.js
For any questions or feedback, please reach out at baharkse17@gmail.com.
/* ------------------------------------------------------- */ -->