flash1nho / geo_ports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Run APP:

  • bundle install

  • Configuration database.yml

  • rake db:create

  • rake db:migrate

  • rake db:seed

  • rails s

Use API:

JSON Result:

"id":3,
"title":"2",
"port_id":4,
"date_open":"2016-08-11",
"capacity":1000.0,
"type":"Positions::Vessel",
"created_at":"2016-08-11T06:52:48.280Z",
"updated_at":"2016-08-11T06:52:48.280Z",
"url":"http://localhost:3000/positions/3.json"

Run RSpec tests:

  • rspec spec

About


Languages

Language:Ruby 77.2%Language:HTML 17.5%Language:CSS 3.6%Language:JavaScript 1.3%Language:CoffeeScript 0.4%