A FaaS API for sharing documents. Built with WebTask.io, RethinkDB and the Serverless framework.
sls config credentials --provider webtasks
npm install // or yarn
sls deploy
The result of deploy
will be an URL you can use to consume your service.
sls logs
-
Triggering event:
- HTTP
- PATH:
/
- METHOD(S):
GET
-
Environment variables (Secrets in WebTask.io):
RETHINKDB_SERVER
: IP of the RethinkDB Server.
-
Pre-requisites:
- RethikDB: Database
weshare
and tableshares
.
- RethikDB: Database
-
Triggering event:
- HTTP
- PATH:
/[:id]
- METHOD(S):
GET
-
Environment variables (Secrets in WebTask.io):
RETHINKDB_SERVER
: IP of the RethinkDB Server.
-
Pre-requisites:
- RethikDB: Database
weshare
and tableshares
.
- RethikDB: Database
-
Triggering event:
- HTTP
- PATH:
/
- METHOD(S):
POST
orPUT
-
Environment variables (Secrets in WebTask.io):
RETHINKDB_SERVER
: IP of the RethinkDB Server.
-
Pre-requisites:
- RethikDB: Database
weshare
and tableshares
.
- RethikDB: Database
-
Triggering event:
- HTTP
- PATH:
/[:id]
- METHOD(S):
DELETE
-
Environment variables (Secrets in WebTask.io):
RETHINKDB_SERVER
: IP of the RethinkDB Server.
-
Pre-requisites:
- RethikDB: Database
weshare
and tableshares
.
- RethikDB: Database