Skip to content

goodbrews/api

Repository files navigation

api.goodbre.ws

Build status Coverage Code Climate Dependency Status Tips

This is the code that powers the API of the upcoming goodbre.ws rewrite.

Requirements

  • Ruby 2.1.0 with bundler installed
  • PostgreSQL
  • Redis

Getting started

To set the API up for local development, first do the following:

bundle install
bundle exec rake db:setup

Then, to start the server:

bundle exec rackup

Try some requests:

curl --include '0.0.0.0:9292/breweries/'

Running the tests

To run all of the tests (note that the API is automatically tested via Travis CI):

rspec # Optionally specify a path: spec/models/

Releases

No releases published

Packages

No packages published

Languages