This application demonstrates how you can use wetland in sails using the sails-hook-wetland.
- Clone this repository
npm i
- Done.
This is simply a sails application. You can run it as such.
sails lift
(ornode app
) to run the server.creates.sh
contains some curl commands to fill the database with test data.- http://127.0.0.1:1337/todo/cake for a custom repository example.
- http://127.0.0.1:1337/todo/cakecount for a count example.
- http://127.0.0.1:1337/todo/nested for a nested example.