Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

riffhi/EcoBin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 

Repository files navigation

Waste Management Solution

Overview

This repository contains the source code for a waste management solution aimed at supporting the Swachh Bharat Mission (SBM). The application addresses challenges in waste segregation, collection optimization, and citizen engagement. It includes features such as waste categorization tools, a reporting system for unclean areas, leaderboards, and blogs to promote sustainability awareness.

Features

Core Functionalities

  1. Waste Segregation Tools:
    • Allows users to record and categorize waste types (biodegradable, recyclable, hazardous).
  2. Collection Optimization:
    • Collaborates with municipalities, NGOs, etc. for waste collection.
  3. Citizen Engagement:
    • Reporting system to upload images and pinpoint waste locations on a map.
    • Gamified leaderboards and reward systems to encourage active participation.
    • Blogs and news updates to keep users informed on sustainability practices and achievements.

Tech Stack

Frontend

  • Framework: Next.js (React-based framework for building scalable and performant web applications).
  • Styling: CSS Modules / Tailwind CSS (choose the one used in the project).

Backend

  • Database: PostgreSQL (Relational database for storing and managing data).
  • ORM: Drizzle ORM (TypeScript ORM for type-safe database queries).

Additional Tools and Libraries

  • Mapping: Integration with mapping APIs (e.g., Google Maps, OpenStreetMap).
  • Authentication: Auth mechanism (e.g., JWT, OAuth).

Installation

Prerequisites

Ensure you have the following installed:

  • Node.js (version 16 or later)
  • PostgreSQL (version 12 or later)
  • npm or yarn

Steps

  1. Clone the repository:

    git clone https://github.com/your-repo-name.git
  2. Navigate to the project directory:

    cd your-repo-name
  3. Install dependencies:

    npm install
    # or
    yarn install
  4. Configure the environment variables:

    • Create a .env.local file in the root directory.
    • Add the following variables:
      DATABASE_URL=your_postgresql_connection_string
      MAP_API_KEY=your_mapping_service_api_key
      AUTH_SECRET=your_authentication_secret
  5. Run database migrations:

    npx drizzle-kit up
  6. Start the development server:

    npm run dev
    # or
    yarn dev
  7. Open the application: Visit http://localhost:3000 in your browser.

License

This project is licensed under the MIT License.

Acknowledgments

  • Swachh Bharat Mission for inspiring this initiative.
  • Next.js and Drizzle ORM for their robust frameworks.
  • All contributors who helped build this project.

Feel free to submit issues or feature requests in the Issues tab of the repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •