Note: this is just a quick and dirty implementation of tumblr.js and react, please don't use this code directly and instead make your own implementation.
Install dependencies and start the server
npm install & npm start
Remplace MasterKey
with your actual tokens / keys in dist/server.js
// Authenticate via OAuth
const tumblr = require('tumblr.js');
const client = tumblr.createClient(MasterKey);