Giter Club home page Giter Club logo

Comments (5)

OrKoN avatar OrKoN commented on July 29, 2024

Hi @Xqua

the data sync is triggered after a successful team admin login: https://github.com/moovel/teamchatviz/blob/master/server/api/lib/auth.js#L53 And the module that fetches the data is located here: https://github.com/moovel/teamchatviz/tree/master/server/data/lib/sync We are currently using the official slack client for node instead of directly using the REST API.

So to add RocketChat integration, you will need to add a oauth flow and when an admin logs in, you need to fetch all data from RocketChat to the db.

Best regards,
Alex

from teamchatviz.

Xqua avatar Xqua commented on July 29, 2024

I see !
So there is a need to rewrite all the functions for REST API instead ...
I just made a python library to the RC API, I'll port it to JS and the see how hard it is to do this.

Thanks !

from teamchatviz.

OrKoN avatar OrKoN commented on July 29, 2024

@Xqua you could also use your python lib and write a program that loads data into the database. It just needs to understand the database structure.

from teamchatviz.

Xqua avatar Xqua commented on July 29, 2024

oh yes that would be neat !
do you have the DB architecture somewhere ?

from teamchatviz.

OrKoN avatar OrKoN commented on July 29, 2024

You can find the structure of the tables in db migrations files. Feel free
to ask questions if something is not clear!
Xqua [email protected] schrieb am Fr., 23. Sep. 2016 um 19:19:

oh yes that would be neat !
do you have the DB architecture somewhere ?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#57 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYXLiQXlyPowmVapAJoys7TAhnJb8Irks5qtAoqgaJpZM4KBByi
.

from teamchatviz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.