The following Rails app is used as the base project for The Pivot.
This brownfield project is a multitenant e-commerce web application, entitled Found Sound. It was a 2-week group project with a 4-member team from the Turing School of Software and Design (Denver, CO).
Project is deployed at: https://found-sound.herokuapp.com/
- Gabe Afflitto
- Lee Chow
- Zach Landes
- Max Stackhouse
- Josh Mejia
Built using Ruby 2.4.1 and Rails 5.1.3
Install required gems:
$ bundle install
Setup Database:
$ rake db:create db:migrate
Load the database dump:
$ rake import_dump:load
Run rake tasks:
$ rake migrate_data:all
Setup redis server (for Live Chat messaging queue). Keep redis server running during both testing and when running local server.
$ brew install redis
$ redis-server
After the import you should see a return value of 1011 when running Item.count
in the console.
All users have a password of password
if you want to login and explore.
$ brew install redis
$ redis-server
$ rspec
Item title and description can be searched using this endpoint:
get /api/v1/search?type=items&q=[query]&api_key=[your_api_key]
You can create a valid default API key by setting ENV['search_api_key'] in your environment.