All Projects → chiefy → sails-angular-yeoman-logindemo

chiefy / sails-angular-yeoman-logindemo

Licence: other
Sample login demo using sails / angular / mongoose / yeoman

Programming Languages

javascript
184084 projects - #8 most used programming language

SailsJS / AngularJS / Yeoman Login Demo

This demo app was put together in hopes of learning how to tie together Angular, Sails and Yeoman. Heavily inspired and some code lifted from

https://github.com/sectore/CafeTownsend-Angular-Rails

#How I got here:

Step 1: Generate new Angular scaffold with Yeoman $ mkdir -p ./loginDemo && cd loginDemo && yo angular:app loginDemo

Step 2: backup files that need merged $ mv package.json package.json.bak && mv .gitignore .gitignore.bak

Step 3: Create sails app $ sails new .

Step 4: Merge package.json


Step 5: Merge .gitignore $ cat .gitignore.bak >> .gitignore && rm .gitignore.bak

Step 6: Remove unneeded sails assets $ rm -rf public && rm -rf assets/js && rm -rf assets/styles

Step 7: Install additional packages $ npm install mongoose bcrypt sails-mongo --save

Step 8: Move angular SPA template into EJS layout

Step 9: Modify Sails application settings

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].