Skip to content

luccasmtxr/carbon-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌱 Carbon Footprint Calculator

A fullstack application to estimate personal carbon footprints based on housing, travel, food, products, and services consumption.
Built with Next.js 15 + shadcn/ui on the frontend and Node.js + Express on the backend.


🚀 Getting Started

Clone the repository

git clone https://github.com/luccasmtxr/carbon-app.git
cd carbon-app

📂 Project Structure

Both the frontend and backend include dedicated README files with more detailed usage instructions and examples.

carbon-app/
├── backend/      # Node.js + Express API
├── frontend/     # Next.js 15 + shadcn/ui app
├── docker-compose.yml
├── README.md

Each folder (backend/ and frontend/) contains its own README with setup details.


🖥 Running Locally

Backend

cd backend
npm install
npm run dev   # runs on http://localhost:7007

Frontend

In another terminal:

cd frontend
npm install
npm run dev   # runs on http://localhost:3000

The frontend will automatically call the backend on http://localhost:7007.


🐳 Running with Docker Compose

This project includes a docker-compose.yml that runs both frontend and backend in production mode.

docker-compose up --build

🐳 Taking down Docker Compose

docker-compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published