Hi.
Is there a short guide on how to start with Melange for a backend project (with NodeJS)?
I couldn’t find anything useful, since, I assume the primary target is React apps.
Does anyone use melange for backend code?
M.
Hi.
Is there a short guide on how to start with Melange for a backend project (with NodeJS)?
I couldn’t find anything useful, since, I assume the primary target is React apps.
Does anyone use melange for backend code?
M.
Hello !
I found this repository very insightful and a nice starting point for using Melange to create a fullstack application: GitHub - ml-in-barcelona/fullstack-reason-react-demo: Demo to showcase server-reason-react with Melange
Maybe @davesnx have more specialized advices on how to start
I hope this can help,
Gabriel.
Thanks a lot! I will have a look
Thanks for sharing. The repo “fullstack-reason-react-demo” is a good example but might be bit outdated. Let me know if you run into issues.
The guide for a backend project isn’t very different from a frontend project, from the Melange perspective. The only guide we worked on is https://react-book.melange.re and explains mostly creating a frontend app.
The current status of node is, we had bindings for ReScript or BuckleScript that might be somewhat compatible with it and you could make them work in your project.
At ahrefs we run ocaml on the backend and we prefer to do that instead of running nodejs, and all my efforts are towards that. If you prefer node, check GitHub - sikanhe/reason-nodejs: Node bindings for Reason and Bucklescript and modify/update those bindings in your project in order to use them and eventually can create a melange-nodejs or similar.
Let me know if you need anything else!
Thanks a lot. I will check out the repo