1.2.1 • Published 9 years ago

baucis-example v1.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Getting Started

This project is an example server built using baucis. To install:

git clone git@github.com:wprl/baucis-example.git
cd baucis-example
npm install
node app

Now that the server is running, make HTTP GET requests like:

http://localhost:3333/api/vegetables
http://localhost:3333/api/vegetables?conditions={ "name": "tomato" }
http://localhost:3333/api/vegetables?conditions={ "name": { "$regex": "t" } }
http://localhost:3333/api/vegetables?select=_id
http://localhost:3333/api/vegetables/<_id>

Check out POST, PUT, HEAD, and DELETE requests as well…

Swagger

You can also use Swagger to interact with baucis:

First, download the swagger-ui client.

git clone git@github.com:wordnik/swagger-ui.git
open swagger-ui/dist/index.html

Point it at your API.

http://localhost:3333/api/documentation
1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.14.2

10 years ago

0.14.1

10 years ago

0.14.0

10 years ago

0.1.1

10 years ago

0.1.0

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago