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.
git clone https://github.com/luccasmtxr/carbon-app.git
cd carbon-app
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.
cd backend
npm install
npm run dev # runs on http://localhost:7007
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
.
This project includes a docker-compose.yml
that runs both frontend and backend in production mode.
docker-compose up --build
- Frontend → http://localhost:3000
- Backend → http://localhost:7007
docker-compose down