{"id":22369184,"url":"https://github.com/nandkumar1000/ecobuddy","last_synced_at":"2026-04-09T06:42:48.065Z","repository":{"id":266455981,"uuid":"897181928","full_name":"nandkumar1000/ecoBuddy","owner":"nandkumar1000","description":"EcoBuddy connects users with eco-friendly resources like EV charging stations, community gardens, wildlife parks, and more. It’s a platform promoting sustainable living through accessible, green facilities. 🌱","archived":false,"fork":false,"pushed_at":"2025-03-09T02:55:47.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-07T19:43:28.768Z","etag":null,"topics":["authentication","bootstrap","cookies","css","cursor-theme","ejs","ejs-template-engine","express-session","expressjs","flash","flash-messages","html","js","mongodb","mongoose","node","oauth2","passportjs"],"latest_commit_sha":null,"homepage":"","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nandkumar1000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-02T07:19:25.000Z","updated_at":"2025-03-09T02:55:51.000Z","dependencies_parsed_at":"2025-01-08T18:47:14.567Z","dependency_job_id":"f9d14494-5051-4c2f-a37e-c959c205ebf2","html_url":"https://github.com/nandkumar1000/ecoBuddy","commit_stats":null,"previous_names":["nandkumar1000/ecobuddy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nandkumar1000/ecoBuddy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandkumar1000%2FecoBuddy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandkumar1000%2FecoBuddy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandkumar1000%2FecoBuddy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandkumar1000%2FecoBuddy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nandkumar1000","download_url":"https://codeload.github.com/nandkumar1000/ecoBuddy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandkumar1000%2FecoBuddy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266405363,"owners_count":23923536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","bootstrap","cookies","css","cursor-theme","ejs","ejs-template-engine","express-session","expressjs","flash","flash-messages","html","js","mongodb","mongoose","node","oauth2","passportjs"],"created_at":"2024-12-04T19:18:02.532Z","updated_at":"2025-12-30T18:53:59.989Z","avatar_url":"https://github.com/nandkumar1000.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n### **🌍 EcoBuddy - Your Gateway to a Greener Future**  \n\n![EcoBuddy GIF](https://media.giphy.com/media/26BGD4XaoPO3zTz9K/giphy.gif)  \n\n🌱 **EcoBuddy** is a smart, all-in-one platform that helps you find and access environment-friendly resources effortlessly. Whether it’s **EV charging stations**, **community gardens**, **wildlife parks**, or **eco-friendly event spaces**, EcoBuddy connects you with sustainable options in just a few clicks.  \n\n\u003e **Empower a greener lifestyle, one resource at a time.**  \n\n---\n\n## **📖 Overview**  \nAs the world shifts toward sustainability, finding and utilizing eco-friendly resources should be easier. **EcoBuddy** simplifies this by offering:  \n✅ **Real-time locations** of EV charging stations, parks, gardens, and more.  \n✅ **User-friendly search** with Google Maps integration.  \n✅ **Secure authentication** using Google OAuth 2.0.  \n✅ **Community-driven features** like reviews and event scheduling.\n👉 Flash Messaging for real-time success/error alerts.\n\n💡 Whether you're an **EV owner, a nature enthusiast, an event planner, or a fitness lover**, EcoBuddy is here to help you **embrace an eco-conscious lifestyle effortlessly**.  \n\n---\n\n## **🚀 Key Features**  \n\n### **🌿 Discover \u0026 Access Sustainable Resources**  \n- 🔋 **EV Charging Stations** – Find nearby electric vehicle charging points with real-time availability.  \n- 🌱 **Community Gardens** – Join urban gardening initiatives and contribute to green spaces.  \n- 🏀 **Eco-Friendly Sports Complexes** – Stay fit while reducing environmental impact.  \n- 🐾 **Wildlife Parks \u0026 Green Zones** – Locate nature reserves and biodiversity hotspots.  \n- 🏛 **Event Venues** – Reserve sustainable halls and eco-conscious event spaces.  \n\n### **⚡ Smart \u0026 Secure Platform**  \n- 🔐 **Google OAuth 2.0 Authentication** – Hassle-free, secure login.  \n- 📍 **Google Maps API Integration** – Location-based search for seamless navigation.  \n- 🛠 **Multer for File Uploads** – Share images and documents related to listings.  \n- 📝 **User Reviews \u0026 Ratings** – Contribute feedback to improve resource listings.  \n- 📊 **Admin Dashboard** – Track user engagement and resource utilization.  \n\n---\n\n## **🛠 Technology Stack**  \n\n| **Category**      | **Technologies Used** |\n|-------------------|----------------------|\n| 🌐 **Frontend**  | HTML, CSS, Bootstrap, JavaScript, EJS |\n| 🔥 **Backend**  | Node.js, Express.js |\n| 🛢 **Database**  | MongoDB (Mongoose ORM) |\n| 🔑 **Authentication**  | Google OAuth 2.0, Passport.js |\n| 📍 **APIs**  | Google Maps API, RESTful API |\n| 📂 **File Uploads**  | Multer (image/doc uploads) |\n| 🔒 **Session Management**  | Cookies \u0026 Flash Tokens |\n| 🚀 **Deployment**  | Vercel / Heroku / DigitalOcean |\n| 🔄 **Version Control**  | Git \u0026 GitHub |\n\n---\n\n## **📂 Project File Structure**  \n\n```\nEcoBuddy/\n├── public/                # Static assets (CSS, images)\n│   ├── assets/\n│   ├── styles/\n│   ├── images/\n├── src/\n│   ├── controllers/       \n│   │   ├── listingsController.js\n│   │   ├── reviewController.js\n│   │   └── navigationController.js\n│   ├── middlewares/       \n│   │   ├── authMiddleware.js\n│   │   ├── errorHandler.js\n│   ├── models/             # MongoDB Schemas\n│   │   ├── User.js\n│   │   ├── Listing.js\n│   │   ├── Review.js\n│   ├── routes/             # API route handlers\n│   │   ├── listingsRouter.js\n│   │   ├── reviewRouter.js\n│   │   ├── userRouter.js\n│   \n│   │   \n│   │  \n│   ├── views/              # EJS Templates\n│   │   ├── layout.ejs\n│   │   ├── index.ejs\n│   │   ├── dashboard.ejs\n│   ├── config/             # Configuration files\n│   │   ├── database.js\n│   │   ├── passport.js\n│   ├── app.js              # Main Express.js application\n├── .env                    # Environment variables\n├── package.json            # Dependencies \u0026 scripts\n├── README.md               # Project documentation\n```\n\n---\n\n## **🛠 How to Install \u0026 Run Locally**  \n\n### **1️⃣ Clone the Repository**  \n```bash\ngit clone https://github.com/NandKumarSahu/EcoBuddy.git\n```\n\n### **2️⃣ Navigate to the Project Directory**  \n```bash\ncd EcoBuddy\n```\n\n### **3️⃣ Install Dependencies**  \n```bash\nnpm install\n```\n\n### **4️⃣ Set Up Environment Variables**  \nCreate a `.env` file and add:  \n```env\nDATABASE_URL=your_mongodb_connection_string\nSESSION_SECRET=your_session_secret\nGOOGLE_CLIENT_ID=your_google_oauth_client_id\nGOOGLE_CLIENT_SECRET=your_google_oauth_client_secret\nAPI_KEY=your_google_maps_api_key\n```\n\n### **5️⃣ Start the Application**  \n```bash\nnpx nodemon app.js\n```\n\n### **6️⃣ Open in Browser**  \nGo to: `http://localhost:8080`\n\n---\n\n## **💡 Use Cases**  \n\n🚗 **For EV Owners** → Quickly locate available **charging stations**.  \n🌳 **For Nature Enthusiasts** → Discover **parks, sanctuaries, and green spaces**.  \n🏋️ **For Fitness Lovers** → Find **eco-friendly sports complexes**.  \n🎭 **For Event Planners** → Book **sustainable event venues**.  \n🌍 **For Community Builders** → Organize and join **local sustainability events**.  \n\n---\n\n## **📢 How to Contribute**  \n\n💡 **Got ideas? Found a bug?** We’d love your contributions!  \nFollow these steps:  \n\n1. **Fork the repository**  \n2. **Create a new feature branch**  \n   ```bash\n   git checkout -b feature-name\n   ```\n3. **Commit changes**  \n   ```bash\n   git commit -m \"Add feature XYZ\"\n   ```\n4. **Push to GitHub**  \n   ```bash\n   git push origin feature-name\n   ```\n5. **Submit a Pull Request** 🚀  \n\n---\n\n\n---\n\n## **👨‍💻 Developer \u0026 Contact**  \n\n💬 **Questions? Need support?**  \n📧 Email: [contact on email](mailto:your.shivanandvansal9520@gmail.com)  \n🔗 LinkedIn: [My Profile](www.linkedin.com/in/nandkumarsahu1234)  \n\n🌟 _Let’s make the world greener, one click at a time!_ 🌍💚  \n\n---\n\n## **🚀 Conclusion**  \nEcoBuddy is more than an app—it's a **movement** toward sustainability. By making **eco-friendly resources** more **accessible**, we encourage people to **adopt greener choices** effortlessly.  \n\n\u003e 🌱 **Together, let's build a more sustainable future.** 🌍  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnandkumar1000%2Fecobuddy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnandkumar1000%2Fecobuddy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnandkumar1000%2Fecobuddy/lists"}