This version of our app shows you the nearest places to work within 400 metres of your current location. Users can toggle filters such as the availability of seats, wi-fi, coffee, power sockets, etc. Users can also search for places around another location.
Setup DB username (and password)
config>database.yml
default: &default
username: postgres
Uses HTTParty gem for making requests. Task file is in lib\tasks\seed_from_google_places.rake
To seed, type rails seed_from_google_places. and then 'rails add_opening_times'. You will need a Cloudinary account with your cloudinary.yml in /config. To clear all Cloudinary images from your account (warning will delete ALL your images), run 'rails delete_all_cloudinary_images'.
Rails DB seed file has been populated using the seed-dump gem.
Type rails db:seed to use it.
These secret keys are used for verifying the integrity of signed cookies used by Devise.
Use rails secret to generate your own secure secret key.
config>secrets.yml
development:
secret_key_base: <insert_secure_key_here>
test:
secret_key_base: <insert_secure_key_here>
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
Type bundle exec figaro install to create config\application.yml and auto add it to .gitignore.
Note that this may create duplicate entries in .gitignore
TWILIO_SID: Twilio Account SID
TWILIO_AUTH_TOKEN: Twilio Auth Token
TWILIO_NUMBER: Assigned Twilio Number
Note: All phone numbers need to have country codes!
config\application.yml
TWILIO_SID: <insert_SID>
TWILIO_AUTH_TOKEN: <insert_tuth_token>
TWILIO_NUMBER: <insert_twilio_number> (in single quotes!)
See the places to work around your current location displayed on the Google Map, or those around another location you can search for in the search bar.
Toggle the various filters to refine your search.
The app is available here.
- Ruby on Rails
- PostgreSQL
- Devise
- Seed_dump
- Cloudinary
- Google Maps API
- Google Places API
- HTTParty
- Clipboard
- Figaro
- Twilio
## Acknowledgements
- Kimverlyn Lim for awesome UX advice!




