Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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/

About

The API for https://goodbre.ws/ — More info at

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /