Inventory Management Web App (App and API).
- MongoDB
- Express.js
- React (Material UI)
- Node.js
- Users
- Categories
- Items
Payload for User registration.
{
"name": "Tim Cook",
"email": "[email protected]",
"password": "iLoveAppleCorp"
}
{
"email": "[email protected]",
"password": "iLoveAppleCorp"
}
Only category name is required.
{
"name": "laptops"
}
Item has categoryId and categoryName. Item id and name is also saved in category under items array.
{
"name": "Macbook Air M1",
"description": "The latest Macbook Air for 2021",
"quantity": 20,
"category": {
"categoryId": "your-category-id",
"categoryName": "Laptops"
}
}
- Delete item or category sets
isArchived = true
.