-
Notifications
You must be signed in to change notification settings - Fork 0
Documentation
Harvindersingh Chavan edited this page Oct 5, 2020
·
6 revisions
A simple web application to help track your Inventory
git clone https://github.com/Hvinder/ShopBridge.git
cd ShopBridge
npm install
ng serve
User can add Item name, Item description and Item price in the form. Optionally, adding Item image is also supported.
User can view all the items in the Inventory as cards.
The cards layout will depend on screen resolution of the user device. Supported layouts are:
- Single column (Mobile)
- Two columns (Tablet)
- Three columns (Desktop & larger)
The cards show two action buttons. Clicking on View opens the Item details page showing all the available item details including description. Clicking on REMOVE will delete the item from Inventory!
This project was generated with Angular CLI version 8.1.2.
Most of the UI components are from Angular Material.
This project uses mockAPI for REST APIs.
// Mock Object
{
"objectId": "1",
"name": "Power Bank",
"description": "For emergency Power",
"price": "50",
"id": 43,
"image": null
}-
GET /itemsGet all items in Inventory -
GET /items/:idGet a specific item from Inventory -
POST /items/:idAdd / Update an item -
DELETE /items/:idRemove a specific item from Inventory