Skip to content

Ar7pvt/c2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C6 Exchange

C6 Exchange is a full-stack B2B carbon footprint and carbon credit trading platform for companies, project owners, NGOs, and sustainability teams.

Platform Modules

  • Carbon footprint calculator with sustainability scoring
  • Carbon credit marketplace with real-time ticker updates
  • Enterprise sustainability dashboard with chart analytics
  • AI-powered emission insights and anomaly/fraud detection
  • Project registration + verification workflow
  • ESG reporting and blockchain-inspired transparency records
  • JWT authentication and role-based access control

Tech Stack

Frontend

  • React + TypeScript + Vite
  • Tailwind CSS
  • Framer Motion
  • Recharts
  • Socket.IO client

Backend

  • Node.js + Express
  • MongoDB + Mongoose
  • JWT auth + RBAC
  • Socket.IO for real-time market stream
  • Cloudinary/Stripe-ready architecture hooks

Run Locally

1) Install dependencies

cd frontend && npm install
cd ../backend && npm install

2) Configure backend env

Create backend/.env:

MONGO_URI=mongodb://localhost:27017/c2
JWT_SECRET=change_me
PORT=5001
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=

3) Start services

cd backend && npm run dev
cd ../frontend && npm run dev

Frontend: http://localhost:5173 Backend: http://localhost:5001 (or set PORT in backend/.env)

Key API Endpoints

  • POST /api/auth/register
  • POST /api/auth/login
  • GET /api/projects
  • POST /api/projects
  • PATCH /api/projects/:projectId/review
  • POST /api/market/buy
  • GET /api/market/transactions
  • POST /api/calculator
  • GET /api/admin/fraud

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors