Angular-CaptchaDemo

MCProHosting simple captcha interview exam

Added by: Sam Deering

GitHub

Repository

gatortim50/angular-captchademo

Stats

Stars: 0

Watchers: 0

Forks: 1

Author

Tim McKee
Tim McKee

Module Description

Angular Captcha Demo - MEAN stack

AngularJS App that demonstrates a captcha:

1. The app is scaffolded using yeoman with bower and grunt
2. Load captcha via $http service - $http.get(server:port/captcha)

Server:

uses node or even better nodemon and express with cors
setup to run by default on: Back End Server running at localhost:3000
the server will serve up the captcha json

Client:

Configuration in app.js

Services

  captchaSvc.js - service call to the node.js server

Controllers

  captchaCtrl.js - parent controller
  captchaFormCtrl.js  - form data, submit request for new captcha

Views

  captcha.html - shell page containing the other views using ng-include
  captchaForm.html - the captcha form
  navbarHeader.html - bootstrap banner  
  
 

Directives

  navbar.js - serves up navbarHeader.html - bootstrap banner  

Steps to Run Project (assumes you have nodejs installed)

 git clone [email protected]:gatortim50/Angular-CaptchaDemo.git
 cd Angular-CaptchaDemo/server 
 npm install
 node server.js
 
 open new window and ...
 
 cd Angular-CaptchaDemo/client
 npm install
 bower install
 grunt serve 
 or 
 grunt serve --force

Module stats last updated: 2015-06-07 05:30:25

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!