https://github.com/eyedea-io/syncano-socket-user-invitation
Syncano Socket for managing inviting user to the resource
https://github.com/eyedea-io/syncano-socket-user-invitation
invitation serverless syncano syncano-socket user
Last synced: 7 months ago
JSON representation
Syncano Socket for managing inviting user to the resource
- Host: GitHub
- URL: https://github.com/eyedea-io/syncano-socket-user-invitation
- Owner: eyedea-io
- License: mit
- Created: 2017-06-17T09:11:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T08:43:02.000Z (over 7 years ago)
- Last Synced: 2025-06-12T05:07:34.731Z (7 months ago)
- Topics: invitation, serverless, syncano, syncano-socket, user
- Language: JavaScript
- Homepage: https://syncano.io
- Size: 215 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Syncano Socket for managing inviting user to the resource
[](https://syncano.io)
[](https://circleci.com/gh/eyedea-io/syncano-socket-user-invitation/tree/master)
[](https://codecov.io/gh/eyedea-io/syncano-socket-simple-user-invitation)
[](https://www.npmjs.com/package/@eyedea-sockets/user-invitation)

Main Socket features:
* **user-invitation/invite** — invite user to the resource
* **user-invitation/get** — get user invitation
* **user-invitation/list** — list invitation for a given resource
* **user-invitation/update** — change invitation status
## Getting Started
Install package in your project:
```sh
cd my_project
npm install @syncano/cli --save-dev
npm install @eyedea-sockets/user-invitation --save
npx s deploy
```
Use it:
```js
import Syncano from '@syncano/client'
const s = new Syncano()
const params = {
email: 'test@email.com',
resourceID: '1234',
resourceType: 'company',
details: {
company_id: 1234
}
}
const invitation = await s.post('user-invitation/invite', params)
```