Skip to content

ArkanArsalan/dapoer-plan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dapoer Plan - AI-Powered Indonesian Recipe Generator Mobile App

Flutter Express.js Flask Node.js

Dapoer Plan is a mobile (Android) application designed to help users manage their food ingredients and discover local Indonesian recipe ideas. This app is equipped with Artificial Intelligence (AI) features that allow users to detect food ingredients directly through the device’s camera or by uploading photos from the gallery. Based on the detected ingredients, the app generates relevant Indonesian local recipe recommendations. In addition, Dapoer Plan provides a history feature to record and revisit previously viewed or created recipes, and a catalog feature that contains a collection of diverse Indonesian recipes for users to explore.

Features

  • AI Ingredient Detection
    Scan or upload food images to automatically identify ingredients

  • Smart Recipe Generation
    Get personalized Indonesian recipe suggestions based on detected ingredients

  • Recipe Catalog
    Explore diverse collection of authentic Indonesian recipes

  • Generated Recipe History
    Save and revisit your favorite recipes and searches

  • User-Friendly Interface
    Beautiful Flutter-based mobile experience

Tech Stack

  • Frontend: Flutter (Android/iOS)
  • Backend: Express.js (REST API)
  • AI Service (Image Detection): Flask
  • Database: MongoDB
  • Computer Vision: Custom YOLO model or LLM using OpenRouter

Project Structure

.
├── README.md
├── ai_server
│   ├── best.pt
│   ├── detect_ingredient.py
│   └── requirements.txt
├── backend
│   ├── controllers
│   ├── data
│   ├── index.js
│   ├── middleware
│   ├── models
│   ├── node_modules
│   ├── package-lock.json
│   ├── package.json
│   ├── routes
│   └── utils
└── frontend
    ├── README.md
    ├── analysis_options.yaml
    ├── android
    ├── assets
    ├── build
    ├── ios
    ├── lib
    ├── linux
    ├── macos
    ├── pubspec.lock
    ├── pubspec.yaml
    ├── test
    ├── web
    └── windows

Project Setup

Configuration

Create .env files in the backend directory:

PORT=3000
MONGODB_URL='mongodb://localhost:27017/dapoerplan'
JWT_SECRET='your_jwt_secret_32_chars_minimum'
OBJECT_DETECTION_URL='http://localhost:"portforaiserver"/detect/ingredient'
OPENROUTER_API_KEY='your_openrouter_api_key'

Prerequisites

  • Flutter SDK: 3.32.4 (Dart 3.8.1)
  • Node.js: 22.12.0
  • Python: 3.10+ (recommended 3.11+ for better Flask compatibility)

1. Backend Setup (Express.js)

cd backend
npm install
npm run dev

2. AI Server Setup (Flask)

cd ai_server
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt
python app.py

3. Frontend Setup (Flutter)

cd frontend
flutter pub get
flutter run

Screenshots

Login and Register Home Screen Katalog Recipe
Home Screen Scanner Results
Katalog Recipe Detail Generate Recipe using Ingredient Input
Detail View Cooking Guide
Detect Ingredient from Image Generated Recipe from Detected Ingredient Generated Recipe History
Ingredients Shopping Favorites

About

Dapoer Plan is an AI-powered mobile app that generates authentic Indonesian recipes based on ingredients detected from camera or image uploads. Built with Flutter, Express.js, and Flask.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors