Skip to content

trycourier/pigeon-weather

Repository files navigation

Pigeon Weather

A small Node.js and express application with a SQLite databased that collects user information and display their current weather. This well be used as the starter for a Courier Sample Application. Notifications will be added using Courier and several channel providers like Twilio for SMS, SendGrid for email, and Slack for direct messaging.

Follow @trycourier on Twitch to be notified of future live streams.

Remix this Project

Create your own copy of this project using the button below. Remix on Glitch

Environment Variables

This project uses 2 environment variables that you'll need to supply values for in the .env file.

Running locally

This project was created to run in Glitch, but can be run locally with these additional steps.

  1. Clone the repo at https://github.com/trycourier/pigeon-weather
  2. In the repo directory, run npm install
  3. Create the database by running mkdir .data && touch .data/database.sqlite
  4. Create a .env file and add the variables from above.
  5. Start the application by running npm start
  6. Open a browser to http://localhost:58428

Git Tags

This project uses git tags to allow you to jump to different instances of the application. After each live stream, we will create a tag so you can see what the code looks like before and after.

  • starter: The initial state of the app
  • 20200311 (video): The result of the 3/11/2020 live stream that set up email and SMS notifications using Courier
  • 20200415 (video): The result of the 4/15/2020 live stream that added Slack notifications using Courier