Skip to content

markusprap/waste-classification-webapp

Repository files navigation

Waste Classification Web App

A web application that can classify different types of waste using machine learning. Built for Coding Camp 2025 Capstone Project.

What it does

Upload a photo of waste and the AI will tell you what type it is (organic, recyclable, etc).

Features

  • Image-based waste classification
  • Real-time predictions
  • Educational resources on waste management
  • User subscription plans (Free and Premium)
  • Secure payment processing with Midtrans

Technologies Used

  • Python (Flask, TensorFlow/Keras)
  • JavaScript (React.js, Next.js, Tailwind CSS)
  • Node.js & Express.js
  • Midtrans Payment Gateway

Getting Started

Frontend (Next.js)

  1. Install dependencies:
    cd frontend
    npm install --legacy-peer-deps
  2. Run the development server:
    npm run dev

Backend (Node.js with Hapi)

  1. Install dependencies:
    cd backend
    npm install
  2. Run the backend server:
    npm run dev

Database Setup

The project includes a pre-seeded SQLite database (backend/database/prisma/dev.db) with sample data for immediate testing. If you want to reset or recreate the database:

  1. Generate Prisma client:
    cd backend
    npx prisma generate

Subscription Plans

The application offers two subscription plans:

  • Free Plan: Limited to 30 waste classifications per month
  • Premium Plan: Unlimited classifications for Rp 10,000 per month

Payment System

The payment system is implemented using Midtrans as the payment gateway:

  1. Users can upgrade from Free to Premium plan in the user dashboard
  2. Payment is processed securely through Midtrans
  3. Users receive immediate access to Premium features upon successful payment

Contributors

  • MC009D5X0397 Dea Yuliani Sabrina
  • FC013D5Y1566 Markus Prap Kurniawan
  • FC375D5Y1854 Izaq Zulfikar
  • MC009D5Y2213 Dwi Nurcahyo Purbonegoro
  • MC009D5X2450 Clara Marsya Dekawanti

Coding Camp 2025 powered by DBS Foundation

About

Capstone Project Coding Camp 2025 by CC25-CF053 team

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •