Skip to content

Instantly share code, notes, and snippets.

@stevenbarragan
Last active April 22, 2020 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenbarragan/fae2808dd4780c4a30b8 to your computer and use it in GitHub Desktop.
Save stevenbarragan/fae2808dd4780c4a30b8 to your computer and use it in GitHub Desktop.

Welcome to StackTest!

##Quotes api

###Model Quote * text type string

Task

  • Build a RESTFUL API for Quote model
  • Validate presence of text.
  • Test the API

Requirements

  • Rails.
  • Doesn't matter which database.
  • html views are not necessary.
  • Tests are required.
    • Doesn't matter which test suite you use.
  • No scaffolding.
  • No rails generate. (We want to see you coding, if you need to use it, ask first).
  • You can use any gem you want.
  • You can use any editor you want.
  • Anything not covered on this document, please ask!

##NOTE: No scaffolding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment