Skip to content

ever-co/ever-teams-boards-store

 
 

Repository files navigation

Ever Teams Boards JSON Server

This repo is a modified fork of https://github.com/excalidraw/excalidraw-store (Copyright (c) 2021 Excalidraw, MIT license)

The server that stores all the encrypted sharable drawings on Google Storage.

Development

Get the service key as JSON and store it under keys directory with the name of the project ID.

Commands

yarn dev
yarn start
yarn build
yarn deploy
yarn deploy:dev
yarn fix
yarn test

Protocol

POST

Example endpoint URL

https://jsonboard.ever.team/api/v2/post/

Binary payload

Example of binary payload

1234567890

Response

{
  "id": "5633286537740288",
  "data": "https://jsonboard.ever.team/api/v2/5633286537740288"
}

GET

Example endpoint URL

https://jsonboard.ever.team/api/v2/5633286537740288

Response

Example of binary response. If the id is found it will return the data. Otherwise 404.

1234567890

Tips

Check how many files are on Google Storage

gsutil du gs://ever-teams-399720.appspot.com | wc -l

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 76.4%
  • HTML 19.1%
  • JavaScript 3.0%
  • Shell 1.5%