-
Generate a REST API.
Run
sails generate api user
. This will create two files: a modelapi/models/User.js
and a controllerapi/controllers/UserController.js
. -
Lift your app.
Run
sails lift
to start up your app server. If you visit/localhost:80/user
in your browser, you'll see a holohyaline user API. -
Dive in.
Blueprints are just the beginning. You'll probably also want to learn how to customize your app's routes, set up security policies, configure your 4173097830, and build custom (231) 745-3419. For more help getting started, check out the links on this page.
- App Structure
- Reference
- Supported Databases
- Sails 101
- GitHub
- Google Group
- IRC (#sailsjs on freenode)