3 ms·
> Another thing you could do is dump your database into a _data file and use Jekyll to serve static content as a JSON api. That would be absurdly fast and would
by mseebach 12y ago
> Another thing you could do is dump your database into a _data file and use Jekyll to serve static content as a JSON api. That would be absurdly fast and would potentially be a much better solution for serving a read-only web API than building a full on rails app for exposing a dataset.
Couldn't you, with much the same effort, just convert your database to a static set of JSON files? What, exactly, does Jekyll bring to the table here? (Also, is it really an API if it's static?)
- programminggeek 12y agoProbably. One thing that would be interesting would be to use some of the categories, filtering, and other things Jekyll gives you. However, you're right, you could just as easily do it without Jekyll.