Skip to content

Instantly share code, notes, and snippets.

View akinyeleolat's full-sized avatar

Akinyele Oluwatosin Akintayo akinyeleolat

View GitHub Profile
@akinyeleolat
akinyeleolat / node_redis_cache.js
Created December 20, 2020 20:21 — forked from bradtraversy/node_redis_cache.js
Node.js & Redis Caching
const express = require('express');
const fetch = require('node-fetch');
const redis = require('redis');
const PORT = process.env.PORT || 5000;
const REDIS_PORT = process.env.PORT || 6379;
const client = redis.createClient(REDIS_PORT);
const app = express();
@akinyeleolat
akinyeleolat / mongodb_cheat_sheet.md
Last active December 16, 2020 11:33 — forked from bradtraversy/mongodb_cheat_sheet.md
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database