Beacon Of Change is a Next.js application that leverages the Gemini AI API to create awareness and educate people about the impact of climate change. This app offers a range of features including a climate change-specific news bulletin, sustainability tips, information on sustainability campaigns, sustainable B2C businesses, and a blog dedicated to the critical impact of climate change.
- Climate Change News Bulletin: Stay updated with the latest news on climate change.
- Sustainability Tips: Learn how to conserve energy and water, make eco-friendly food, fashion and transportation choices, as well as effectively manage home/individual waste generation.
- Sustainability Campaigns: Discover sustainability campaigns near you based on your location.
- Sustainable Businesses: Find and support sustainable businesses in your area.
- Climate Change Blog: Read blog posts related to the critical impact that climate change has on our planet.
Check out the live demo of Beacon Of Change - https://beacon-of-change.vercel.app.
Follow these steps to get the app running on your local machine.
Ensure you have the following installed:
- Node.js (>=14.x)
- npm (>=6.x) or yarn (>=1.22.x)
Clone the repository:
git clone git@github.com:mondalbidisha/BeaconOfChange.git
cd BeaconOfChangeInstall the dependencies:
npm install or yarn installCreate a .env.local file in the root directory and add the following environment variables:
NEXT_PUBLIC_GEMINI_API_KEY=your_gemini_api_key
NEXT_PUBLIC_API_BASE_URL=your_api_base_urlReplace your_gemini_api_key and your_api_base_url with your actual Gemini API key and base URL. You can generate your Gemini AI API key here - https://ai.google.dev/gemini-api/docs/api-key
Start the development server:
npm run dev or yarn devOpen your browser and navigate to http://localhost:3000 to see the app in action.
Thank you for using BeaconOfChange! Together, we can make a difference. 🌍🌱