About a month ago or so, I took the time to create and write about my experiences with using the SQLRestBridge component, along with some of the pas2js components. This post does relate to pas2js as well, but thought since it has more than just pas2js, to post it into this part of the forum for greater visibility for anyone needing a quick start tutorial on the subject.
Blog post about using the pas2js HTML Fragment module/component in Lazarus:
https://kevthedev.bearblog.dev/html-fragment/Blog post about creating a JSON-RPC Server in FPC, and using it with pas2js:
https://kevthedev.bearblog.dev/objectpascal-creating-and-using-rpc/Blog post about creating a REST server in FPC using the SQLRestBridge:
https://kevthedev.bearblog.dev/objectpascal-creating-a-rest-server/I have a public pas2js web application and REST server located here:
https://restapps.rpgtube.app/Blog post discussion the creation of the above web application:
https://kevthedev.bearblog.dev/objectpascal-interactive-fiction-in-rest/I hope that these posts can help anyone who may have been having issues getting these components to work, or were confused on their use. I found the odd caveat to using these components, and was troubleshooting some issues along the way. These posts should help anyone jump start into REST Server and pas2js development.
Let me know if you have any questions, comments, or even suggestions.
I'm also currently seeking employment, and if any of these blog posts and the skills involved are interesting to anyone who needs my skills, please DM me. I am located in Canada, but am able to do remote work with ObjectPascal. Least to say, Canada doesn't have many or any jobs with the Pascal language. My past jobs have mostly included DevOps positions, and so I also have server experience as well.