Morning-Drill app

  • An interactive Ruby Sinatra application that fetches a joke, answers your question using ChatGPT, and provides weather advice based on your location.

Deployment

The application is deployed and can be accessed at the following URL: 👉Click here👈

Note it would take approcimately about 30s to fetch response from Openai API. Take a deep breath and wait... I know...

Prerequisites

  • Ruby installed (version 3.2.1)
  • Sinatra gem installed
  • API keys for Google Map, weather, and ChatGPT API

Installation

  1. Clone the repository:
git clone https://github.com/andrewp8/morning_drill.git
  1. Install required gems:
bundle install
  1. Set up API keys:
  1. Run the app:
bin/dev

Usage:

Contributing

  • Contributions are welcome! Please fork the repository and submit a pull request.