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

https://github.com/spk/cotedeporc

Little quote api with Hanami and Sequel
https://github.com/spk/cotedeporc

Last synced: 4 months ago
JSON representation

Little quote api with Hanami and Sequel

Awesome Lists containing this project

README

          

# cotedeporc

## Quotes api with Hanami and Sequel

### Run

```
bundle install
bundle exec rackup
```

### Add a quote

```
curl -v -XPOST http://127.0.0.1:9292/v1/quotes \
-d 'quote[topic]=youpi' -d 'quote[body]=youpi !!!'
```

### List quotes

```
curl -v http://127.0.0.1:9292/v1/quotes
```

## License

The MIT License

Copyright (c) 2012-2019 Laurent Arnoud