Skip to content
/ botdb Public

Self hostable single JSON Bucket for our Bot

Notifications You must be signed in to change notification settings

sdslabs/botdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

botdb

Self hostable single JSON Bucket for our Slack Bot.

Setup

  1. Clone the repository
  git clone https://github.com/sdslabs/botdb
  1. Install node modules and install pm2
  cd botdb
  npm i
  npm i pm2 -g
  1. Create config.json inside the repository root folder with contents:
{
  "token": "< secret bearer token >"
}
  1. Start the server
  pm2 start index.js

API

All requests must have Content-Type header set to application/json and should have a Bearer authentication token. Token can be any string.

  • GET / - Get JSON contents.
  • PUT / - Write JSON contents. Body should be a valid JSON string.

About

Self hostable single JSON Bucket for our Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published