Find local coffee shops near you!
Heroku Link
Before getting started with installation, you will need to create an account and get an API key from
Yelp
Please sign up to get your own copy and include them as environment variables with Figaro.
Run figaro install to add your own application.yml file to the application.
These instructions will get you up and running with a copy of the project on your local machine for development and testing purposes.
- Fork and Clone this repo
- Install gem packages:
bundle install - Run
rails db:{drop,create,migrate,seed}-- (you may see errors from pg_restore that you can ignore) - Run rails s to start the rails server
- Enter endpoints (see below) into Postman to see JSON responses!
Testing with RSpec
To run the full test suite you will need to run the command:
bundle exec rspec
To run individual tests use:
bundle exec rspec spec/folder/file
- Rails
- PostgreSQL
- Postman
- RSpec
- Capybara
- JSON API Serializer
- HTTParty
- Shoulda Matchers
- Factory Bot Rails
- Better Errors
-
Ruby 3.0.0
-
Rails 6.1