Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Latest commit

 

History

History
21 lines (13 loc) · 478 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 478 Bytes

Olery Ruby Test Application Exercise

This repository is a very simple API example created to serve as a base for job application tests.

It has originally two endpoints for the users model.

  • List users: /v1/users
  • show one user /v1/users/1

Running

bundle
bundle exec sequel -m db/migrations sqlite://db/development.sqlite3
bundle exec rake seed
bundle exec rackup 

Access it through http://localhost:9292

Testing

bundle exec rake test