https://github.com/spoonx/swetland
An example application with sails, wetland and sails-hook-wetland.
https://github.com/spoonx/swetland
Last synced: 5 months ago
JSON representation
An example application with sails, wetland and sails-hook-wetland.
- Host: GitHub
- URL: https://github.com/spoonx/swetland
- Owner: SpoonX
- Created: 2017-01-09T15:18:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-22T12:53:16.000Z (over 9 years ago)
- Last Synced: 2025-07-13T21:37:28.233Z (12 months ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# collablog
This application demonstrates how you can use [wetland](https://github.com/SpoonX/wetland) in sails using the [sails-hook-wetland](https://github.com/SpoonX/sails-hook-wetland).
## Installation
1. Clone this repository
2. `npm i`
3. Done.
## Running
This is simply a sails application. You can run it as such.
* `sails lift` (or `node 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](http://127.0.0.1:1337/todo/cake) for a custom repository example.
* [http://127.0.0.1:1337/todo/cakecount](http://127.0.0.1:1337/todo/cakecount) for a count example.
* [http://127.0.0.1:1337/todo/nested](http://127.0.0.1:1337/todo/nested) for a nested example.