Grape Bootstrap

Introduction

Bootstrap Grape application for REST APIs. Refer to Wiki to know more about how features are implemented

Features

Dependencies

Installation

shell $ bundle install

shell $ bundle exec rake db:create db:migrate

shell $ rackup -p 3000

Docker

To run application on docker:

$ docker-compose build
$ docker-compose up

# Open another terminal and run:
$ docker-compose run web bundle exec rake db:create db:migrate

Console

To use console, run the following command:

$ bin/console

Background Jobs

To run Cron Jobs:

$ bin/sidekiq

To run RabbitMQ Workers:

$ bin/sneakers

Tests

To execute tests, run the following command:

$ bundle exec rspec

Routes

To show the application routes, run the following command:

$ bundle exec rake routes

License

The software is available as open source under the terms of the MIT License.