Exercise blog engine Rails API providing JSON API for posts and comments in a threaded way like Slack or Reddit. One or many comments can be added either to a Post or to a comment.
You can download an Excel file containing comments for a specified post at /api/post/:post_id/comments
end-point.
To populate the database, run rails db:setup
, see seeds.rb
for more details.
RSpec is used as testing framework.
Run rspec
to run the tests.