Giter Club home page Giter Club logo

weather-power-up's Introduction

Weather Power-Up for Trello

A small sample Power-Up for Trello that shows weather data on cards. It piggyback's on the locations that can be added to cards using the Map Power-Up.

If a card has a location set on it, this Power-Up will automatically show current weather data on the front and back of the card.

Setup Prerequisites

We developed this Power-Up live on a YouTube stream which you can find here: https://www.youtube.com/watch?v=dLCkcQnwAQk

NodeJS

We use NodeJS to build our Power-Up. Currently, this project expects that you are running version 12.x

We recommend you use a tool called nvm to help you manage your versions of node. If you have it installed, you can simply run nvm i in this directory to install the right version of node.

Yarn

We use Yarn to install and manage our dependencies. Once you've got Yarn installed, in this directory, you can run yarn install to setup your dependencies locally.

OpenWeatherMap

This Power-Up relies on the awesome OpenWeatherMap project. You'll need to sign up for your own free account to use their API. Once you have an account grab your API key as you'll need to set that as an environment variable wherever you are building your Power-Up as APP_ID.

In Netlify you can set environment variables at the site level: Settings > Build & deploy > Environment > Environment variables

Hosting

We need a place to host our Power-Up. For the purposes of this example we recommend Netlify which has an excellent free plan.

If you fork this repository, you can point your Netlify site at your forked version of the repository.

  1. Click New site from Git
  2. Find and select your version of this repository
  3. Your "Build command" should be yarn build
  4. Your "Publish directory" should be dist
  5. Click Deploy site and your Power-Up will build and have a Netlify address

Resources

Trello has a whole Developers Site with various guides and documentation.

You can jump right to Power-Ups Documentation

weather-power-up's People

Contributors

mpcowan avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.