-
Notifications
You must be signed in to change notification settings - Fork 19
Setup
David Copeland edited this page Jun 25, 2017
·
4 revisions
-
Add to your Gemfile:
gem "stitches"
-
Install
> bundle install
-
Setup RSpec if you haven't already
> bin/rails generate rspec:install
-
Setup Apitome (which serves up your API documentation)
> bin/rails generate apitome:install
-
Run the stitches generator
> bin/rails generate stitches:api
-
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