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

https://github.com/pwelch/pizza_calc

🍕Sinatra Application for Calculating Pizza Order Sizes
https://github.com/pwelch/pizza_calc

pizza

Last synced: 5 months ago
JSON representation

🍕Sinatra Application for Calculating Pizza Order Sizes

Awesome Lists containing this project

README

          

# PizzaCalc

Util for calculating pizza order requirements.

## API

```bash
curl -X POST http://pizzacalc.website/api/pizza_calc/3
```

## Running Locally

Start Sinatra App
`rackup` or `bundle exec foreman start`

Visit
`http://localhost:9292`

## Development

Run All Tests:
`bundle exec rake`

Local API:
`curl -X POST http://localhost:9292/api/pizza_calc/3`

## Contributing

1. Fork it ( https://github.com/pwelch/pizza_calc/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request