API server for contract management.
$ git clone git@github.com:kibitan/contract_management_api.git
$ bin/setup
- Ruby 2.5.0
- PostgreSQL
Defined with OpenAPI Specification ver. 2 (fka Swagger) at swagger.yml
You can see documentation as Swagger UI by
- Swagger Editor (without Mock Server - Try it out)
- waggerapi/swagger-ui - Docker Hub
$ docker pull swaggerapi/swagger-ui
$ docker run -p 80:8080 -e API_URL=http://localhost:3000/v1/swagger.json swaggerapi/swagger-ui
// with Docker for Mac with higher than v 17.06, use API_URL=http://docker.for.mac.localhost:3000/v1/swagger.json
$ open http://localhost
NOTE: now development only
$ bundle exec rails s
$ bundle exec rspec
- update swagger.yaml
- implement error handing for /v1/uesrs
- use comittee
- it's not working well with OpenAPI v2
- use comittee
- implement authorization
- implement ApiKeyAuth
- implement BasicAuth
- implement contracts API