https://github.com/skorotkiewicz/node-xmpp-vcard
REST API to get user XMPP vCard
https://github.com/skorotkiewicz/node-xmpp-vcard
Last synced: 3 months ago
JSON representation
REST API to get user XMPP vCard
- Host: GitHub
- URL: https://github.com/skorotkiewicz/node-xmpp-vcard
- Owner: skorotkiewicz
- Created: 2020-07-17T20:51:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-18T16:46:47.000Z (almost 5 years ago)
- Last Synced: 2025-01-31T12:34:40.726Z (5 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-xmpp-vcard
# Install
```
$ git clone https://github.com/skorotkiewicz/node-xmpp-vcard
$ mv config.default.js config.js
$ vim config.js
$ yarn install (npm install)
$ yarn run start (npm start)
```### Install using Docker
```
$ git clone https://github.com/skorotkiewicz/node-xmpp-vcard
$ mv config.default.js config.js
$ vim config.js
```### Without docker-compose:
```
$ docker build -t node-xmpp-vcard .
$ docker run -p 3000:3000 -d node-xmpp-vcard
```### With docker-compose:
```
$ docker-compose up -d
```# Usage
```
/api/vcard/:jid/:data
```## Data
| :data | description |
| ---------- | ------------ |
| `FN` | Full name |
| `NUMBER` | Phone number |
| `USERID` | Mail |
| `URL` | Website |
| `BDAY` | Birthday |
| `NICKNAME` | Nickname |
| `DESC` | Description |