Developing in API mode - projectblacklight/blacklight GitHub Wiki
If you want to just make an API with Blacklight 7 (avoiding the UI components), do the following:
rails new my_api --api- Add
gem 'blacklight'to theGemfileandbundle install rails generate blacklight:install- Add
include ActionController::MimeRespondstoApplicationControllerin order to providerespond_to - Add a
app/views/catalog/index.html.erbto prevent blacklight from rendering the welcome message.