Description

This is a GraphQL API built with Ruby on Rails for a property management site.

The API has 3 main resources:

  • Property

    • name
    • description
    • city
  • Furnishing

    • chairs
    • beds
    • tables
  • Valuation

    • priceCents
    • priceCurrency
    • hasOffer

How to setup the repo

  1. Clone the repo locally: git clone git@github.com:briankabiro/properties-api.git

  2. Install the dependencies: bundle install

  3. Start the server: rails s

Running tests

  1. Run tests by running: rspec -f d