Skip to content
David Copeland edited this page Jun 25, 2017 · 4 revisions
  1. Add to your Gemfile:

    gem "stitches"
  2. Install

    > bundle install
    
  3. Setup RSpec if you haven't already

    > bin/rails generate rspec:install
    
  4. Setup Apitome (which serves up your API documentation)

    > bin/rails generate apitome:install
    
  5. Run the stitches generator

    > bin/rails generate stitches:api
    
  6. Finally, run DB migrations, since Stitches created a table you'll need

    > bundle exec rake db:migrate
    

You are now ready to write your first API. You might also want to know what all that just did

Clone this wiki locally