Bootstrap Grape application for REST APIs. Refer to Wiki to know more about how features are implemented
- Live Reload Development (Guard)
- RabbitMQ (Sneakers)
- Cron Jobs (Sidekiq)
- Audit Logs (PaperTrail)
- Codecov.io
- Sentry.io
- Ruby 2.6.2
- PostgreSQL
- Redis 5
-
Clone poject
-
Run bundler:
$ bundle install- Create database and run migrations:
$ bundle exec rake db:create db:migrate- Run application:
$ rackup -p 3000- For development:
$ bundle exec guardTo run application on docker:
- Install Docker and Docker-Compose
- Clone the project
- Run these commands on project root:
$ docker-compose build
$ docker-compose up
# Open another terminal and run:
$ docker-compose run web bundle exec rake db:create db:migrateTo use console, run the following command:
$ bin/consoleTo run Cron Jobs:
$ bin/sidekiqTo run RabbitMQ Workers:
$ bin/sneakersTo execute tests, run the following command:
$ bundle exec rspecTo show the application routes, run the following command:
$ bundle exec rake routesThe software is available as open source under the terms of the MIT License.