Simply app to manage office supplies
Start app:
$ rackup
Create new stock:
$ curl -X POST -d "name=text" http://localhost:9292/stocks
Delete stock with id = 1:
$ curl -X DELETE http://localhost:9292/stocks/1
List all stocks:
$ curl -X GET http://localhost:9292/stocks
Update stock with id = 1:
$ curl -X PUT -d "status=whole" http://localhost:9292/stocks/1
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request