An open API service indexing awesome lists of open source software.

https://github.com/vonderklaas/redis-postman-clone

This is an example of cache management with help of Redis. Use Postman clone in the browser to talk to Express API, and see what happens when we use Redis between them
https://github.com/vonderklaas/redis-postman-clone

express postman redis

Last synced: 2 months ago
JSON representation

This is an example of cache management with help of Redis. Use Postman clone in the browser to talk to Express API, and see what happens when we use Redis between them

Awesome Lists containing this project

README

          

### Postman Clone UI with Redis

#### Installation

```
npm i
```

#### Run Server and Client (Terminal 1, Terminal 2)

in "/" and in "/api" folder

```
npm run start
```

Client: http://localhost:8080/

Express API: http://localhost:3000/

#### Run Redis

#### Server (Terminal 3)

```
redis-server
```

#### CLI (Terminal 4)

```
redis-cli
```

#### Additional

Go ahead, try to make some API calls and see how Time

changes in-between, when Redis stores request and sends it to you from disk

Use flushall inside 'redis-cli' terminal to clear data stored in Cache,

and by that update it next time we fetch the data