This is a demo Rails application that utilizes gruf 2.1.0+, a gRPC Ruby framework.
Set the database URL as a DATABASE_URL
env var in a .env
file, then:
bundle install
bundle exec rake db:create db:migrate
bundle exec rake db:seed
foreman start
Then in another console, you can run provided rake tasks to see it in action.
bundle exec rake test:get_product
bundle exec rake test:get_products
bundle exec rake test:create_products
bundle exec rake test:create_products_in_stream