How can I programmically create topics from a nodejs script?
pennyfx last edited by
I have a huge database of posts in json format that I want to migrate over to Nodebb. What's the easiest way to import a bunch of posts?
The following tests give a pretty good example of doing it, except it's pointing to a mock database.
How would I go about doing the same for real?
I'd use one of the importer plugins if one is available. e.g. https://github.com/psychobunny/nodebb-plugin-import-phpbb