worldtime

World clock and timezone converter

Stars
4

This project was bootstrapped with Create React App. It's a lightweight app for checking different timezones.

๐Ÿš€ Quick start

  1. Clone this repo.

    git clone https://github.com/DanMMX/worldtime.git
    
  2. Start developing.

    Navigate into your new siteโ€™s directory and start it up.

    Configure and deploy the serverless api

      cd api
      serverless deploy
    

    Configure and run the front end app

    cd worldtime/
    cp .env.template .env
    # modify that new .env file with the recently deployed API
    npm i
    npm start
    

    You'll get your preferred browser opened with the live app

    This project depends of 1 environment variable sent to the serverless API through the dashboard:

    • GOOGLE_MAPS_API_KEY: Get a Google API key with /geocode and /timezone endpoints permissions

๐Ÿง What's inside?

  1. Search for your preferred locations to see them on the list ๐Ÿ”Ž
  2. Remove the desired locations with the trash icon at the left of each row ๐Ÿ—‘๏ธ
  3. Use the ruler to check equivalents in time while aligning other times ๐Ÿ“
  4. Drag and drop to rearrange locations ๐ŸŽ๏ธ
  5. Use it as a PWA and save it to your phone ๐ŸŽฎ
  6. It automatically caches your search, so whenever you open the app/website you'll see your previous searches ๐Ÿ’พ

๐Ÿ“ TODO

  1. Tests: Most of the components are tested, however the coverage is about 40% which can be improved.
  2. Location could be detected so the home location would appear instantly and automatically as first picked location (Home).
  3. Rearrangement with drag and drop for the locations.