koa-api-starter
koa-api-starter copied to clipboard
A starter kit for building Koa.JS based restful api
![image](https://user-images.githubusercontent.com/54932232/134149181-e2a052bf-46a0-459b-99ab-400d911fcc94.png) ![image](https://user-images.githubusercontent.com/54932232/134199294-afb5f6bf-66e5-4520-816b-7973200be2a1.png)
- Add `redis-client.js` module - Replace `client` to imported `redis-client` in `ioEmitter.js` - Create `cache` module with `RedisCacheClient` . - Replace `redis` to `ioredis` in dependencies. Now we can use...
I believe that we need to move the Redis client into a separate module for subsequent reuse, for example, as a cache.
Update MongoDB to 4.4 Also, Digital Ocean allows choosing only 4.4 version
We need to restart the docker container manually. If possible please restart the server after npm install.