The Official documentation is very thorough.
And some general background from the founder of Rocket Chat: