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
- Host: GitHub
- URL: https://github.com/pwelch/pizza_calc
- Owner: pwelch
- License: mit
- Created: 2015-05-03T15:26:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T13:31:41.000Z (about 2 years ago)
- Last Synced: 2025-05-09T19:54:30.066Z (5 months ago)
- Topics: pizza
- Language: Ruby
- Homepage: http://pizzacalc.website
- Size: 329 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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