Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 868 Bytes

README.md

File metadata and controls

42 lines (32 loc) · 868 Bytes

Ruby(Rails) API for the Simple Issue Tracker with ActiveRecord, RSpec, ApiPie

Dependencies:

  • Ruby 2.4.2
  • PostgreSQL

Installation:

  • Clone poject
  • Run bundler:
$ bundle install

Create database.yml:

$ cp config/database.yml.sample config/database.yml
$ bundle exec rake db:create db:migrate
  • Run application:
 $ rails s -p 3000
Tests:

To execute tests, run following commands:

 $ bundle exec rake db:migrate RAILS_ENV=test #(the first time only)
 $ bundle exec rspec

Api documentation:

Enter the following address in the browser:

http://localhost:3000/apipie

License

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