Skip to content

Instantly share code, notes, and snippets.

@chickencoder
Last active December 7, 2018 22:50
Show Gist options
  • Save chickencoder/f87db0e8d80c5214b57521e694f84d9c to your computer and use it in GitHub Desktop.
Save chickencoder/f87db0e8d80c5214b57521e694f84d9c to your computer and use it in GitHub Desktop.

☂️ brolly

an instant in-memory now.sh data store

const brolly = require('brolly-store')

module.exports = (req, res) => {

}
GET blah.now.sh/get/some-key-name
{
  "errors": [],
  "value": ""
}

GET blah.now.sh/save 
{
  "errors": []
}

POST blah.now.sh/set/some-key-name
{
  "value": "some value -- whatever you like"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment