An open API service indexing awesome lists of open source software.

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.

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.