$ 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)
$ git clone https://github.com/skorotkiewicz/node-xmpp-vcard
$ mv config.default.js config.js
$ vim config.js
$ docker build -t node-xmpp-vcard .
$ docker run -p 3000:3000 -d node-xmpp-vcard
$ docker-compose up -d
/api/vcard/:jid/:data
:data | description |
---|---|
FN |
Full name |
NUMBER |
Phone number |
USERID |
|
URL |
Website |
BDAY |
Birthday |
NICKNAME |
Nickname |
DESC |
Description |