Skip to content

Commit 33db82c

Browse files
committed
minor edits to account dashboard tutorial
1 parent f8a3fc3 commit 33db82c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/howtos/solutions/mobile-banking/account-dashboard/index-account-dashboard.mdx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ import MobileBankingDataSeeding from '../common-mb/data-seeding.mdx';
1212

1313
<MobileBankingSourceCode />
1414

15-
## What is account dashboard for mobile banking?
15+
## What is a mobile banking account dashboard?
1616

17-
An account dashboard is a page in a mobile banking app to instantly render account highlights to users. A customer can click on any of the accounts on the dashboard to see the real time account details, such as latest transactions, mortgage amount they have left to pay, checking and savings, etc.
17+
An account dashboard is a page in a mobile banking app that instantly renders account highlights to users. A customer can click on any of the accounts on the dashboard to see the real-time account details, such as latest transactions, mortgage amount they have left to pay, checking and savings, etc.
1818

19-
Account dashboard make customer's finances easily visible in one place. It reduces financial complexity for the customer and fosters customer loyalty
19+
An account dashboard makes a customer's finances easily visible in one place. It reduces financial complexity for the customer and fosters customer loyalty.
20+
21+
The following diagram is an example data architecture for an account dashboard:
2022

2123
![dashboard](./images/dashboard.png)
2224

2325
1. Banks store information in a number of separate databases that support individual banking products
24-
2526
2. Key customer account details (balances, recent transactions) across the banks product portfolio are prefetched into Redis Enterprise using Redis Data Integration (RDI)
26-
2727
3. Redis Enterprise powers customer's account dashboards, enabling mobile banking users to view balances and other high-priority information immediately upon login
2828

29-
## Why you should use Redis for mobile banking account dashboard?
29+
## Why you should use Redis for account dashboards in mobile banking
3030

3131
- **Resilience**: Redis Enterprise provides resilience with 99.999% uptime and Active-Active Geo Distribution to prevent loss of critical user profile data
3232

@@ -42,14 +42,14 @@ Redis Stack supports the [<u>**JSON**</u>](/howtos/redisjson/) data type and all
4242

4343
:::
4444

45-
## Building account dashboard with Redis
45+
## Building an account dashboard with Redis
4646

4747
<MobileBankingSourceCode />
4848

4949
Download the above source code and run following command to start the demo application
5050

5151
```sh
52-
docker compose up
52+
docker compose up -d
5353
```
5454

5555
After docker up & running, open [http://localhost:8080/](http://localhost:8080/) url in browser to view application
@@ -64,7 +64,7 @@ After docker up & running, open [http://localhost:8080/](http://localhost:8080/)
6464

6565
![Chart](./images/01-ui-balance-over-time.png)
6666

67-
**API end point**
67+
**API endpoint**
6868

6969
| | |
7070
| ------------- | --------------------------------- |
@@ -73,7 +73,7 @@ After docker up & running, open [http://localhost:8080/](http://localhost:8080/)
7373
| Parameters | none |
7474
| Return value | `[{x: timestamp, y: value}, ...]` |
7575

76-
The balance endpoint leverages **[Redis time series](https://redis.io/docs/stack/timeseries/) feature**, It returns the range of all values from the time series object `balance_ts`. The resulting range is converted to an array of objects with each object containing an `x` property containing the timestamp and a `y` property containing the associated value. This endpoint supplies the time series chart with coordinates to plot a visualization of the balance over time.
76+
The balance endpoint leverages [**Time Series**](https://redis.io/docs/stack/timeseries/), It returns the range of all values from the time series object `balance_ts`. The resulting range is converted to an array of objects with each object containing an `x` property containing the timestamp and a `y` property containing the associated value. This endpoint supplies the time series chart with coordinates to plot a visualization of the balance over time.
7777

7878
```js title="app/routers/transaction-router.js"
7979
const BALANCE_TS = 'balance_ts';
@@ -113,7 +113,7 @@ transactionRouter.get('/balance', async (req, res) => {
113113
| Parameters | none |
114114
| Return value | `{labels:[...], series:[...] }` |
115115

116-
The biggest spenders endpoint leverages **[Redis sorted sets](https://redis.io/docs/manual/patterns/indexes/) as a secondary index**, It retrieves all members of the sorted set `bigspenders` that have scores greater than zero. The top five or less are returned to provide the UI pie chart with data. The labels array contains the names of the biggest spenders and the series array contains the numeric values associated with each member name.
116+
The biggest spenders endpoint leverages [**sorted sets**](https://redis.io/docs/manual/patterns/indexes/) as a secondary index, It retrieves all members of the sorted set `bigspenders` that have scores greater than zero. The top five or fewer are returned to provide the UI pie chart with data. The labels array contains the names of the biggest spenders and the series array contains the numeric values associated with each member name.
117117

118118
```js title="app/routers/transaction-router.js"
119119
const SORTED_SET_KEY = 'bigspenders';
@@ -152,7 +152,7 @@ transactionRouter.get('/biggestspenders', async (req, res) => {
152152
| Query Parameters | term |
153153
| Return value | array of results matching term |
154154

155-
The search endpoint leverages Redis **[Search and Query](https://redis.io/docs/stack/search/)** feature, It receives a `term` query parameter from the UI. A [Redis om Node](https://github.com/redis/redis-om-node) query for the fields `description`, `fromAccountName`, and `accountType` will trigger and return results.
155+
The search endpoint leverages [**Search and Query**](https://redis.io/docs/stack/search/), It receives a `term` query parameter from the UI. A [Redis om Node](https://github.com/redis/redis-om-node) query for the fields `description`, `fromAccountName`, and `accountType` will trigger and return results.
156156

157157
```js title="app/routers/transaction-router.js"
158158
transactionRouter.get('/search', async (req, res) => {
@@ -190,7 +190,7 @@ transactionRouter.get('/search', async (req, res) => {
190190
| Parameters | none |
191191
| Return value | array of results |
192192

193-
Even the transactions endpoint leverages Redis **[Search and Query](https://redis.io/docs/stack/search/)** feature. A [Redis om Node](https://github.com/redis/redis-om-node) query will trigger and return ten most recent transactions.
193+
Even the transactions endpoint leverages [**Search and Query**](https://redis.io/docs/stack/search/). A [Redis om Node](https://github.com/redis/redis-om-node) query will trigger and return ten most recent transactions.
194194

195195
```js title="app/routers/transaction-router.js"
196196
/* return ten most recent transactions */

0 commit comments

Comments
 (0)