You are not logged in.
Pages: 1
help me!! I'm trying to do a very small application in AngularJS with Netbeans that must read a simple server mORMot with authentication, but I can not find a very simple example that to do it!!!! ... Can someone help me I have need a very simple example that face authentication and read data from the server?
thanks
corchi
Offline
Did you look at https://github.com/synopse/mORMot/tree/ … /AngularJS ?
In particular https://github.com/synopse/mORMot/blob/ … yn-auth.js
See also http://synopse.info/forum/viewtopic.php … 515#p12515
Online
Project mORMot with AngularJS
https://www.dropbox.com/s/p97h0pcql77qd … s.rar?dl=0
Last edited by warleyalex (2015-06-15 21:52:42)
Offline
I've looked at the code but it seems a little complicated it seems to me that the code has been revised in all three projects and do not know which one to choose, or better your project is more complicated as the "DigDiver" does not work ... I was wondering if you could do a project working and simple.
I simple example that get a list of records and if you are not logged, it ask you to be must logged
Sorry for my english
Thank corchi
Offline
Warley, the javascript code in your example is minified, I think. Can't read.
Offline
Exactly.
This a full project with no obfuscation, no minified version
https://www.dropbox.com/s/phnqgg6gutuja … t.rar?dl=0
To test this web application you should have a web server running, opening it with file:// protocol will enable protection in some browsers that will prevent you from running parts of the code, for example ajax calls.
First, run mORMot server "ProjectF1.exe" and setup a local web server on the port 8090 for instance from the folder C:\wackyraces_mormot\wackyraces\client\ and invoke from browser.
http:\\localhost:8080\index.html
Last edited by warleyalex (2015-06-17 23:11:42)
Offline
Hi warleyalex,
the link is down, can you upload it again?
Thanks a lot for sharing!
Offline
Offline
Pages: 1