Comments Module in a static page with Text Box

Hi guys!

I was thinking, how can I insert a module in my Angular app, without an iframe page, with all the features that comments can have.

I was looking, nowadays there is an embbed tool, but without a comment box and linking to a external page (forum) to reply and view all discussions…

How Can I structure this feature?

Thx!

「いいね!」 1

You will need to:

  • Rewrite the composer in Angular

  • Use SSO between your app and Discourse so the comment goes to the right user

  • Create a backend that will receive the request from the Angular app and post to Discourse using an admin API key.

「いいね!」 2

Great!

But, I can use the Discourse API docker to up in my server, right? This way I don’t need to create a backend…

That would expose the admin API key in plain Javascript. Won’t work.

「いいね!」 2

You are correct…
Thx for the explanation…

:slight_smile:

「いいね!」 1