/articles-api

This app is an API with pagination that is written in Ruby on Rails. This API includes pagination. The UI that corresponds to this API was written in Ember and the repo is located at https://github.com/venusang/articles.

Primary LanguageRuby

DESCRIPTION

This is a ruby on rails API that I built following the tutorial "Pagination in Ember with a JSON API Backend" by Frank Treacy (https://emberigniter.com/pagination-in-ember-with-json-api-backend/) .

This is a Rails 6 example with Kaminari (https://github.com/amatsuda/kaminari).

APP INFO

  • Ruby version 2.7
  • Rails 6.0.2.1

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • $ git clone git@github.com:venusang/articles-api.git
  • $ cd articles-api
  • $ bundle install
  • $ bin/rails db:migrate
  • $ bin/rails db:seed
  • $ bin/rails s --binding 0.0.0.0

Running / Development

Screenshots

Image of articles api

Image of articles api