---
title: "Deploy rain-or-shine"
description: "Add weather data to your Strava activities automatically"
category: "Automation"
url: https://railway.com/deploy/rain-or-shine
---

# Deploy rain-or-shine

Add weather data to your Strava activities automatically

**[Deploy rain-or-shine on Railway](https://railway.com/template/rain-or-shine)**

- **Creator:** James Langridge's Projects
- **Category:** Automation
- **Total deploys:** 7

## Template content

### rain-or-shine

- **Source:** https://github.com/james-langridge/rain-or-shine
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:16

## Documentation

# Deploy and Host rain-or-shine on Railway

Rain or Shine automatically adds weather data to your Strava activities' descriptions.

## About Hosting rain-or-shine

Rain or Shine requires hosting with a public URL to handle Strava's OAuth authentication and webhook notifications. The app needs a PostgreSQL database for storing user sessions and preferences, plus environment variables for Strava and OpenWeatherMap API credentials. Railway handles all of this automatically - provisioning the database, configuring the environment, and providing a public URL. The application runs as a Node.js server serving both the API and React frontend, with automatic webhook registration on first user login.

## Common Use Cases

- Personal Training Log Enhancement - Athletes who want to track how weather affects their performance over time
- Running/Cycling Clubs - Teams tracking group training conditions and sharing weather-annotated activities
- Coaches and Athletes - Understanding how temperature, humidity, and wind impact training adaptations and race performance

## Dependencies for rain-or-shine Hosting

- Node.js 22+ - Runtime environment for the Express server
- PostgreSQL Database - Stores user sessions, preferences, and activity metadata (automatically provisioned by Railway)

### Deployment Dependencies

- https://www.strava.com/settings/api - Create a free Strava app for OAuth credentials
- https://openweathermap.org/api - Sign up for free weather API access (1,000 calls/day)
- https://github.com/james-langridge/rain-or-shine - Complete setup and troubleshooting guide

## Why Deploy rain-or-shine on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying rain-or-shine on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/rain-or-shine
