Date post: | 13-Apr-2017 |
Category: |
Internet |
Upload: | sebastian-pozoga |
View: | 604 times |
Download: | 0 times |
Startsudo npm install sails -gsails new newProject
sails generate controller user index show edit deletesails generate model user name:string email:string password:stringsails generate user
sails consolesails lift
Base structure./api/controllers./api/models./api/policies./api/responses./api/services
./config
./assets
./tasks/register
./tasks/configGruntfile.js
Dependencies (49)waterline, uid-safe, skipper, semver, sails-util, sails-stringfile, sails-hook-sockets, sails-generate, sails-disk, sails-build-dictionary, reportback, rc, prompt, pluralize, node-uuid, mock-res, mock-req, method-override, merge-defaults, lodash, include-all, i18n, grunt-sync, grunt-sails-linker, grunt-contrib-watch, grunt-contrib-uglify, grunt-contrib-less,
grunt-contrib-jst, grunt-contrib-cssmin, grunt-contrib-copy, grunt-contrib-concat, grunt-contrib-coffee, grunt-contrib-clean, grunt-cli, grunt, glob, fs-extra, express-handlebars, express, ejs-locals, ejs, cookie-signature, cookie, connect-flash, commander, colors, captains-log, async, anchor
Hooks
● sails-hook-email ( link / services list )● sails-hook-autoreload ( link )● sails-hook-jobs ( link )● sails-hook-validation ( link )
Do you have any questions?
Thanks for attention