Refactor/Project structure #67

Merged
KevinMidboe merged 56 commits from refactor/project-structure into master 2020-12-10 22:20:38 +00:00
Showing only changes of commit f1d500936b - Show all commits

View File

@@ -1,11 +1,12 @@
let client;
try {
const redis = require("redis");
console.log("trying to create redis");
console.log("Trying to establish connection with redis.");
client = redis.createClient();
client.on("error", function(err) {
client.quit();
console.error("Missing redis-configurations..");
client = {
rpush: function() {
console.log("redis-dummy lpush", arguments);