Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

baucis-example

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baucis-example

An example server that uses baucis to create a REST API

  • 1.2.1
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 10 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc