Trouble connecting to indigo service using ketcher-react #5515
Unanswered
bhans-uvic
asked this question in
Q&A
Replies: 1 comment 9 replies
-
Hi @bhans-uvic We have an example of ketcher usage with ssr, but for standalone indigo here https://github.com/epam/ketcher/blob/master/example-ssr/src/app/editor.tsx Could you please explain the problem in more details? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using ketcher-react for my project and want to connect to indigo-service to use the calculate functionality. I am using NextJS as framework of preference but I am pretty sure it should work with other frameworks as well. Does anyone have any ideas on how to make it work or how can I use the ketcher object to fetch information from the editor?
I have the indigo service running as a docker container on my local machine on port 8002.
Here's my component code:
The evironment variables are:
REACT_APP_API_PATH="/v2/indigo"
PUBLIC_URL="http://localhost:8002"
Beta Was this translation helpful? Give feedback.
All reactions