Skip to content

Komodo-Turing/komodo_frontend

Repository files navigation

Screen Shot 2022-01-13 at 5 07 48 PM

rails-badge ruby-badge

One of the most effective ways of preventing substance overuse is to make sure someone stays with you while you use a substance. This, however, is not always an option for everybody. This Rails App (FE deployed endpoint) (BE deployed endpoint) was created in hopes of mitigating this issue. It lets a client create emergency contacts and start a timer when they are about to use a substance. If the timer is not stopped before it runs out, it will text their contacts with the client's address, map and other information pre-created by the client.

What can I do on Komodo?

  • Sign up and sign in using Google OAuth 2.0
  • Create emergency contacts with their name and phone number
  • Create timers with information such as:
    • Duration in minutes (the only required information)
    • Substance
    • Dosage
    • Entry Instructions and other notes
  • Start a timer
  • Cancel the timer before it goes off

Stack

  • Ruby on Rails, RSpec, Heroku, CircleCI, PostgreSQL, Sidekiq
  • Some of the gems: redis, pry, simplecov, vcr, webmock

Readme Content

Local Setup. SOMEBODY DO THE ADDITIONAL THE BE INSTRUCTION

  • Versions
    • Rails 5.2.6
    • Ruby 2.7.2
  • Fork and clone both the backend and frontend repositories
  • cd in your local repo version and run the following commands
    • To install gems:
      • bundle (if this fails, try to bundle update and then retry)
    • This API uses a few external APIs
      • Add a local application.yml file at the root (this will be ignored in gitcoverage)
      • Sign up for a free Twilio account Twilio
      • Get an API key for Mapquest
      • Add to your application.yml config:
        mapquest_api_key: your_key_here
      
    • To setup database:
      • rails db:create
      • rails db:migrate
      • rails db:seed
  • Run your own development server:

External APIs

This API consumes the following APIs:

Screen Shots

Screen Shot 2022-01-14 at 11 50 03 AM

Screen Shot 2022-01-14 at 11 50 19 AM

Screen Shot 2022-01-14 at 11 50 37 AM

Screen Shot 2022-01-14 at 11 51 10 AM

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published