Assignment for 888
- App port is 8081
- Cache keys have expiration period 5 minutes
- Continents codes are case sensitive
- There preparation for support getting data from non-GraphQl sources (for example REST)
- Basic handling of errors : wrong routes, invlid continent code
- NOT handled redis diconnection
There were some issue when running via docker. In order to run without docker , in file
cache-helper.js
const client = redis.createClient ({host: 'redis-server', port: 6379});
by
const client = redis.createClient ({port: 6379});
added test str