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
- Host: GitHub
- URL: https://github.com/vonderklaas/redis-postman-clone
- Owner: vonderklaas
- Created: 2022-08-02T09:32:25.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-02T09:42:59.000Z (almost 4 years ago)
- Last Synced: 2025-01-07T09:47:52.027Z (over 1 year ago)
- Topics: express, postman, redis
- Language: JavaScript
- Homepage:
- Size: 57.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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