Simple Object Storage in Redis (Node.js)
In this post I'm going to go over how to use redis as a simple object storage for your node.js app.
Oh, forgive me, thou glitching piece of code,
That I am meek and gentle with these debuggers!
Thou art the bugs in the noblest software
That ever ran in the flow of bytes.
Woe to the hand that wrote this faulty script!
Over thy errors now do I prophesy—
Which, like silent functions, do throw their syntax errors
To beg for the logic and correction of my code—
A curse shall befall upon the lines of developers.
Domestic bugs and fierce syntax conflicts
Shall clutter all the functions of this program.
Errors and exceptions shall be so in use,
And dreadful bugs so familiar,
That programmers shall but chuckle when they behold
Their code dissected with the hands of debugging,
All mercy choked with the habit of faulty runs,
And the program's spirit, seeking for perfection,
With Stack Overflow by its side come hot from GitHub,
Shall in these repositories with a developer's voice
Cry "Havoc!" and let slip the dogs of code,
That this flawed script shall smell above the servers
With error logs, groaning for a fix.
-- William GPTspeare, Julius Server (Act 3, Scene 1)
In this post I'm going to go over how to use redis as a simple object storage for your node.js app.
In this post I'm going to go over how to add a multi-tenant layer to your express/mongoose app.
In this post I'm going to go over how to give your serverless project access to an S3 bucket.
In this post I'm going to go over how to use executable binary files with the serverless framework and webpack.
In this post I'm going to go over how to setup a robust serverless api boilerplate with ES6, folder structure, testing (mocha + chai), and eslint.