-
Notifications
You must be signed in to change notification settings - Fork 0
Documentation
Harvindersingh Chavan edited this page Oct 6, 2020
·
6 revisions
A simple web application to help track your Inventory
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:
- View: Opens the Item details page showing all the available item details including description
- REMOVE: Removes the item from Inventory!
This project was generated with Angular CLI version 8.1.2.
Most of the UI components are from Angular Material.
RxJS operators and concepts such as Observable are used to get data from API asynchronously.
Angular core concepts such as routing (parameterised) and services are also used.
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
git clone https://github.com/Hvinder/ShopBridge.git
cd ShopBridge
npm install
ng serve