#1 2015-06-15 16:30:09

corchi72
Member
Registered: 2010-12-10
Posts: 232

small application in AngularJS

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

#2 2015-06-15 16:41:56

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,603
Website

Offline

#3 2015-06-15 21:51:26

warleyalex
Member
From: Sete Lagoas-MG, Brasil
Registered: 2013-01-20
Posts: 250

Re: small application in AngularJS

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

#4 2015-06-16 07:30:31

corchi72
Member
Registered: 2010-12-10
Posts: 232

Re: small application in AngularJS

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

#5 2015-06-16 14:06:20

Junior/RO
Member
Registered: 2011-05-13
Posts: 210

Re: small application in AngularJS

Warley, the javascript code in your example is minified, I think. Can't read.

Offline

#6 2015-06-17 23:08:52

warleyalex
Member
From: Sete Lagoas-MG, Brasil
Registered: 2013-01-20
Posts: 250

Re: small application in AngularJS

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

#7 2015-10-26 17:02:10

Rads
Member
From: Vacarisses
Registered: 2015-10-26
Posts: 4

Re: small application in AngularJS

Hi warleyalex,

the link is down, can you upload it again?

Thanks a lot for sharing!

Offline

#8 2015-10-26 19:08:06

warleyalex
Member
From: Sete Lagoas-MG, Brasil
Registered: 2013-01-20
Posts: 250

Re: small application in AngularJS

Offline

Board footer

Powered by FluxBB