+
Skip to content

abnercarleto/xy-inc

Repository files navigation

XY-INC

A simple REST API service to create and list Points of interes by closeness. This service uses Ruby on Rails and Docker.

Install and run

$ docker-compose build
$ docker-compose run web rails db:setup
$ docker-compose up
  • Consume the service in http://localhost:3000 as described in swagger.yml (use swagger editor to visualise)
    • Use POST /point_of_interests to create a new PointOfInterest
    • Use GET /point_of_interests to list all PointOfInterests
    • Use GET /point_of_interests/{id} to return a specific PointOfInterest
    • Use PUT /point_of_interests/{id} to update a PointOfInterest
    • Use GET /point_of_interests/closeness to list all close PointOfInterests

About

A simple REST API service to create and list Points of interes by closeness.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载