Reputation: 69
I want to do a project with https://github.com/projectblacklight/blacklight Can I use it as a Rails API with a Vue frontend?
It is a Rails Engine that returns JSON but it is traditionally used in a Rails app as a Plugin / Gem (really it's an engine which is similar).
https://github.com/projectblacklight/blacklight/wiki Every Blacklight search provides JSON, RSS, and Atom Responses of search results
Upvotes: 1
Views: 287
Reputation: 1309
blacklight-vue is an engine made explicitly for this purpose. blacklight-vue-demo is a sample build with this engine. The generic answer for building any Ruby on Rails application with Vue is to use the Webpacker gem.
Upvotes: 0
Reputation: 69
I am researching this and so far I think the answer is yes. Jason Coyne from Stanford built an App using Ember with Blacklight
Here are some more discussions around the question. + https://github.com/projectblacklight/blacklight/wiki/JSON-API + https://github.com/projectblacklight/blacklight/pull/588 + https://groups.google.com/forum/#!topic/blacklight-development/TIYCjemfp3A
There is not a lot of documentation about this that I can find.
Upvotes: 0