← Back to Home

Carbon Portfolio Summary

A fullstack application for tracking carbon credit positions and computing portfolio summaries. It aggregates tonnes, value, and pricing across multiple carbon credit holdings to provide a portfolio-level view.

About This Project

The Carbon Portfolio Summary system models a simplified carbon credit portfolio. A portfolio is a collection of carbon credit holdings (positions) across multiple projects, vintages, and statuses, viewed as a single investment or risk exposure. The application computes aggregate statistics including total tonnes, total value, and weighted average price per tonne.

Technologies

ReactTypeScriptViteExpressTailwind CSSVitest

Key Features

  • Portfolio summary with total tonnes, total value, and weighted average price
  • Filtering by position status (available/retired) and vintage year
  • Graceful handling of slow API responses with loading states
  • Express backend with business logic and unit tests
  • Responsive frontend built with React, Vite, and Tailwind CSS

Running Locally

Clone the repository, install dependencies, and start both the backend and frontend with a single command:

git clone https://github.com/awolfen/fluffy-giggle.git
cd fluffy-giggle
npm install
cd backend && npm install && cd ..
npm run dev

The frontend runs on http://localhost:8080 and the backend on http://localhost:4000.

Source Code

The full source code is available on GitHub:

View on GitHub →