Demo application that demonstrates the integration of ChurnZero help platform.
For running the application, navigate to application root folder and run:
npm install
wait for completion and run:
npm start
To run unit tests, run
npm test
Credentials for logging in are:
user name: admin
password: admin
Users can be CRUDed via JSON file ./api/users.json:
[
{
"uuid": "0",
"userName": "admin",
"password": "admin",
"displayName": "Administrator",
"email": "admin@spr.ro",
"role": "administrator"
},
//...
]Logout action is active after logging in through user menu icon on the top right corner.
Credentials reside in ./login/login.service.ts. Modify the following constants to change credentials:
Has a product listing which demonstrates the toggle of Show/Hide image button. The product meta can be modified via JSON file ./api/products.json:
[
{
"productId": 5,
"productName": "Laptop Lenovo",
"productCode": "LAP-5515",
"releaseDate": "August 30, 2020",
"description": "Laptop Lenovo Thinkpad with Intel Core 10th generation i5.",
"price": 710.05,
"starRating": 4.6,
"imageUrl": "assets/images/laptop_lenovo_thinkpad.jpeg"
},
//...
]Shows details about a specific product.