Add Forums to App

Hello, I’m wondering what would be the best way to add a simple forums to my app. Basic categories and users can have access to post to a specific category. Any direction would be appreciated, thanks.

Personally, I would use something like CouchDB and PouchDB, to sync the data and then create the functionality manually. You could also setup a php server using a REST API to get and write data to the forums.