CarbonWise AI
CarbonWise AI is a unified Full-Stack platform bringing data analytics and Generative AI together to interpret personal carbon footprints.
Project Structure
carbonwise-frontend/- Contains the React app (built with Vite) and the premium UI pages.carbonwise-backend/- Contains the Express.js API, PostgreSQL integrations, and Gemini AI routes.
How to Run Locally
1. Database Setup
- Download and install PostgreSQL.
- Create a database named
carbonwiseor your preferred name. - Open
carbonwise-backend/.envand updateDATABASE_URLwith your credentials:postgres://username:password@localhost:5432/carbonwise
2. API Keys
- Get a Gemini API key from Google AI Studio.
- Add it to
carbonwise-backend/.envunderGEMINI_API_KEY.
3. Start Backend
cd carbonwise-backend
npm run dev
(On start, the backend will automatically initialize the required PostgreSQL tables users and activities).
4. Start Frontend
cd carbonwise-frontend
npm run dev
Open http://localhost:5173 in your browser

Log in or sign up for Devpost to join the conversation.