├── .bowerrc ├── .foreverignore ├── .gitignore ├── .nvmrc ├── Gruntfile.js ├── README.md ├── api ├── adapters │ └── .gitkeep ├── controllers │ ├── .gitkeep │ ├── EchoController.js │ ├── MainController.js │ ├── PassportAuthController.js │ ├── RestErrorController.js │ └── TodoController.js ├── models │ ├── .gitkeep │ ├── Todo.js │ └── User.js ├── policies │ ├── isAuthenticated.js │ ├── isAuthorized.js │ └── isPassportAuthenticated.js └── services │ └── .gitkeep ├── app.js ├── assets ├── favicon.ico ├── images │ └── .gitkeep ├── linker │ ├── js │ │ ├── angular-sails.io.js │ │ ├── app.js │ │ ├── controllers │ │ │ ├── restCtrl.js │ │ │ ├── sailsSocketCtrl.js │ │ │ └── todoCtrl.js │ │ └── services │ │ │ └── sailsSocket.js │ └── styles │ │ ├── bootstrap.less │ │ ├── bs-custom.less │ │ ├── bs-variables.less │ │ ├── fa-variables.less │ │ └── font-awesome.less └── robots.txt ├── bower.json ├── config ├── 400.js ├── 403.js ├── 404.js ├── 500.js ├── adapters.js ├── bootstrap.js ├── controllers.js ├── cors.js ├── csrf.js ├── express.js ├── i18n.js ├── locales │ ├── _README.md │ ├── de.json │ ├── en.json │ ├── es.json │ └── fr.json ├── log.js ├── policies.js ├── routes.js ├── session.js ├── sockets.js └── views.js ├── package.json ├── screenshots ├── APITestScreenshot.png ├── LoginPageScreenshot.png └── TodoAppScreenshot.png └── views ├── 403.jade ├── 404.jade ├── 500.jade ├── layout.jade ├── main ├── index.jade ├── rest.jade └── todos.jade └── passportauth ├── login.jade └── protected.jade /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory" : "bower_components" 3 | } -------------------------------------------------------------------------------- /.foreverignore: -------------------------------------------------------------------------------- 1 | **/.tmp/** 2 | ./www/*** -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v0.10 2 | -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/Gruntfile.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/README.md -------------------------------------------------------------------------------- /api/adapters/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/controllers/EchoController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/api/controllers/EchoController.js -------------------------------------------------------------------------------- /api/controllers/MainController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/api/controllers/MainController.js -------------------------------------------------------------------------------- /api/controllers/PassportAuthController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/api/controllers/PassportAuthController.js -------------------------------------------------------------------------------- /api/controllers/RestErrorController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/api/controllers/RestErrorController.js -------------------------------------------------------------------------------- /api/controllers/TodoController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/api/controllers/TodoController.js -------------------------------------------------------------------------------- /api/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/models/Todo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/api/models/Todo.js -------------------------------------------------------------------------------- /api/models/User.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/api/models/User.js -------------------------------------------------------------------------------- /api/policies/isAuthenticated.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/api/policies/isAuthenticated.js -------------------------------------------------------------------------------- /api/policies/isAuthorized.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/api/policies/isAuthorized.js -------------------------------------------------------------------------------- /api/policies/isPassportAuthenticated.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/api/policies/isPassportAuthenticated.js -------------------------------------------------------------------------------- /api/services/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/app.js -------------------------------------------------------------------------------- /assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/favicon.ico -------------------------------------------------------------------------------- /assets/images/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/linker/js/angular-sails.io.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/js/angular-sails.io.js -------------------------------------------------------------------------------- /assets/linker/js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/js/app.js -------------------------------------------------------------------------------- /assets/linker/js/controllers/restCtrl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/js/controllers/restCtrl.js -------------------------------------------------------------------------------- /assets/linker/js/controllers/sailsSocketCtrl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/js/controllers/sailsSocketCtrl.js -------------------------------------------------------------------------------- /assets/linker/js/controllers/todoCtrl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/js/controllers/todoCtrl.js -------------------------------------------------------------------------------- /assets/linker/js/services/sailsSocket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/js/services/sailsSocket.js -------------------------------------------------------------------------------- /assets/linker/styles/bootstrap.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/styles/bootstrap.less -------------------------------------------------------------------------------- /assets/linker/styles/bs-custom.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/styles/bs-custom.less -------------------------------------------------------------------------------- /assets/linker/styles/bs-variables.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/styles/bs-variables.less -------------------------------------------------------------------------------- /assets/linker/styles/fa-variables.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/styles/fa-variables.less -------------------------------------------------------------------------------- /assets/linker/styles/font-awesome.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/linker/styles/font-awesome.less -------------------------------------------------------------------------------- /assets/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/assets/robots.txt -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/bower.json -------------------------------------------------------------------------------- /config/400.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/400.js -------------------------------------------------------------------------------- /config/403.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/403.js -------------------------------------------------------------------------------- /config/404.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/404.js -------------------------------------------------------------------------------- /config/500.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/500.js -------------------------------------------------------------------------------- /config/adapters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/adapters.js -------------------------------------------------------------------------------- /config/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/bootstrap.js -------------------------------------------------------------------------------- /config/controllers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/controllers.js -------------------------------------------------------------------------------- /config/cors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/cors.js -------------------------------------------------------------------------------- /config/csrf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/csrf.js -------------------------------------------------------------------------------- /config/express.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/express.js -------------------------------------------------------------------------------- /config/i18n.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/i18n.js -------------------------------------------------------------------------------- /config/locales/_README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/locales/_README.md -------------------------------------------------------------------------------- /config/locales/de.json: -------------------------------------------------------------------------------- 1 | { 2 | "Welcome": "Wilkommen" 3 | } -------------------------------------------------------------------------------- /config/locales/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/locales/en.json -------------------------------------------------------------------------------- /config/locales/es.json: -------------------------------------------------------------------------------- 1 | { 2 | "Welcome": "Bienvenido" 3 | } 4 | -------------------------------------------------------------------------------- /config/locales/fr.json: -------------------------------------------------------------------------------- 1 | { 2 | "Welcome": "Bienvenue" 3 | } 4 | -------------------------------------------------------------------------------- /config/log.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/log.js -------------------------------------------------------------------------------- /config/policies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/policies.js -------------------------------------------------------------------------------- /config/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/routes.js -------------------------------------------------------------------------------- /config/session.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/session.js -------------------------------------------------------------------------------- /config/sockets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/sockets.js -------------------------------------------------------------------------------- /config/views.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/config/views.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/package.json -------------------------------------------------------------------------------- /screenshots/APITestScreenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/screenshots/APITestScreenshot.png -------------------------------------------------------------------------------- /screenshots/LoginPageScreenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/screenshots/LoginPageScreenshot.png -------------------------------------------------------------------------------- /screenshots/TodoAppScreenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/screenshots/TodoAppScreenshot.png -------------------------------------------------------------------------------- /views/403.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/views/403.jade -------------------------------------------------------------------------------- /views/404.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/views/404.jade -------------------------------------------------------------------------------- /views/500.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/views/500.jade -------------------------------------------------------------------------------- /views/layout.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/views/layout.jade -------------------------------------------------------------------------------- /views/main/index.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/views/main/index.jade -------------------------------------------------------------------------------- /views/main/rest.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/views/main/rest.jade -------------------------------------------------------------------------------- /views/main/todos.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/views/main/todos.jade -------------------------------------------------------------------------------- /views/passportauth/login.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/views/passportauth/login.jade -------------------------------------------------------------------------------- /views/passportauth/protected.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cgmartin/sailsjs-angularjs-bootstrap-example/HEAD/views/passportauth/protected.jade --------------------------------------------------------------------------------