Skip to content

k-erby/weatherClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weatherClock

Installation

You'll need zeit Now for the serverless NodeJS portion. Download the Now CLI via npm:

npm i -g now
now help        // test this command worked
now login       // login to the CLI

Usage

To run this project, you'll need to grab an API key from OpenWeatherMaps. This uses the 'Current Weather' data API.

You'll need to create a .env file at the root of this directory. Add your api key to it:

open_weather_secret=API_KEY

For deployment, you'll need to add your api key to now as well. To do this:

now secret add open_weather_secret API_KEY

For local access at localhost:4000 run:

npm run start

For deployment, run:

now -e open_weather_secret=@open_weather_secret

The project will be deployed and reachable at the specified url in the console.

What was used

Axios, express, nodemon, zeit Now

About

WIP: serverless nodejs app that uses protobufs to communicate with a microcontroller to display weather data on LEDs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors