Impossible to use mORMot with Lazarus. I've tried 4 diferent tutorials, using FPCUpDeLuxe, but no one works....
No it isn't. Try to run the sample 4, the HTTP REST Server. It is the simplest of the lot in my opinion. Then try to build up from there. Personally, I just concentrated on sample 4 and the third party samples.
I just wanted to build an HTTP REST Server that serves JSON content.
I also read the chapter on interface based services and then using the third party sample by George, I was able to create an interface based REST server in front of a PostgreSQL database.
At the moment, I'd rather use mORMot to build a REST server than Apache Tomcat especially when the server PC is not a very powerful one. mORMot serrver apps still work very fast on Intel Dual Core PCs. So when my server PC is modest or old, I just use mORMot and I've not had complaints about performance for the time being.
By the way, I used a standard Lazarus installation and added mORMot via the OPM. I previously downloaded mORMot separately but since it became available via the OPM, I use that now.
Best of luck with your coding,
JD