I’m going about modifying Mattermost to work within my web app and I’m currently considering ways by which I can do this.
The first question is regarding interacting between the application and mattermost. I can see there’s an API which I’ve already started playing around with, but this doesn’t seem to be intended to be used as a link between a server and Mattermost. Is there some way of interacting without having to deal with auth tokens and the 10 APIs per second limit? Or am I going to have to work around this (remove the limit altogether) etc. etc. etc?
Next up is user management. From what I’ve seen the most obvious way I can do this is is by manually creating a new user in Mattermost, via the endpoint, whenever someone creates/updates/deletes an account in the app. Again, this seems a little improper, so I’m wondering if there’s a better way of using the users from my web app? I’ve considered merging the databases of my site and Mattermost but this will open a huge can of worms.
I’ve been trawling through the documentation to see what the best method for completing this will be, but the project is moving so fast and I’ve never actually used either Go or React so I may well be missing lots.
Any help will be greatly appreciated.