https://github.com/thomasleavy/carbon-coach
Carbon Coach - June 2025
https://github.com/thomasleavy/carbon-coach
auth carbon-footprint climate-change cron css dashboard environment git javascript nextjs postgresql react recharts supabase typescript vercel
Last synced: 2 months ago
JSON representation
Carbon Coach - June 2025
- Host: GitHub
- URL: https://github.com/thomasleavy/carbon-coach
- Owner: thomasleavy
- Created: 2025-05-26T20:07:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-19T08:10:13.000Z (12 months ago)
- Last Synced: 2025-07-01T03:40:44.215Z (11 months ago)
- Topics: auth, carbon-footprint, climate-change, cron, css, dashboard, environment, git, javascript, nextjs, postgresql, react, recharts, supabase, typescript, vercel
- Language: TypeScript
- Homepage:
- Size: 92.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Carbon Coach
A personal climate-impact tracker built with Next.js, Supabase & Recharts.
## Tech Stack
- **Frontend:** Next.js (React + TypeScript), TanStack Query, CSS Modules
- **Backend:** Next.js API routes, Supabase Auth + Postgres
- **Charts:** Recharts
- **CI/CRON:** GitHub Actions or Supabase Edge Functions
- **Deploy:** Vercel (app), Supabase (database)
## Demonstrated Features
- Sign-up & authentication via email/password and GitHub OAuth
- Daily “activities” log (driving k m, electricity kWh → CO₂)
- Nightly cron job that fetches grid carbon intensity (EirGrid API) and stores in Supabase
- Dashboard: bar charts for the selected week, pie chart breakdown, and a date-picker
- Export CSV summary for any month via `/api/export`
- Responsive UI with a consistent “Carbon Coach” header on every page