Skip to content

Microservices Monorepo Backend for the Carbon Offset Marketplace, where Green Project owners can raise funds to capture or reduce carbon emissions by allowing buyers to purchase carbon offsets generated from these projects.

Notifications You must be signed in to change notification settings

IS213-G9-tokyobanana/carbon-marketplace-backend

Repository files navigation


Logo

Carbon Offset Marketplace

A place for people to buy carbon offsets to help reduce their carbon footprint and support green projects.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Initial Setup
  3. API Acknowledgments

About The Project

Our app is a platform that enables individuals and organisations to contribute to reduce greenhouse gases in the atomosphere through voluntary carbon offsetting. It allows any entity to (1) obtain funding for new green projects and (2) further monetise existing green projects that have already began consistently removing CO2 from environment.

The focus is primarily on the voluntary market where anyone can fund new projects or support existing projects by buying carbon credits sold by these companies on our platform. Our focus is not on the compliance market, which involves the trading of carbon credits between companies that have hit their carbon credit cap set by government and wish to buy carbon credits from other companies with surplus carbon credits (i.e., companies whose carbon credits are below the cap set by the government).

(back to top)

Built With

Libraries

  • Pika (Python Implementation of AMQP 0-9-1 Protocol)
  • Crontab (Job Scheduler)

Methods of Communication

  • gRPC (Remote Procedure Call Framework)
  • Temporal (Workflow Engine)

Monitoring

Deployment

(back to top)

Initial Setup

To get a local copy of all the microservices up and running follow these steps.

Prerequisites

Usage

  1. Clone the repository

    git clone https://github.com/IS213-G9-tokyobanana/carbon-marketplace-backend.git
  2. Initialize repo with .env file

    # If you have make installed
    make init

    OR

    cp ./deployment/.docker/.env.example .env
  3. Start the services

    # If you have make installed
    make dev

    OR

    docker-compose -f ./docker-compose.yaml up --build --remove-orphans --force-recreate -d
  4. To stop the services, run

    # If you have make installed
    make stop

    OR

    docker-compose -f ./docker-compose.yaml --env-file .env down
  5. To prune the services, run

    # If you have make installed
    make prune-all

    OR

    docker system prune -a --volumes

(back to top)

API Acknowledgments

(back to top)

About

Microservices Monorepo Backend for the Carbon Offset Marketplace, where Green Project owners can raise funds to capture or reduce carbon emissions by allowing buyers to purchase carbon offsets generated from these projects.

Resources

Stars

Watchers

Forks