Skip to content

VishnuMate27/chat_app_flutter_with_frappe_backend

Repository files navigation

Chat App (Flutter + Backend)

A production-grade Flutter application built with clean architecture, scalable state management, and a secure backend integration. This app is designed for real-world usage with authentication, real-time messaging, and modern UI/UX best practices.

Repository Links

 Features

  • Secure Authentication (Login / Signup / Logout)
  • One-to-One Chat Support
  • Chat History & Pagination
  • Backend-powered APIs
  • Persistent Sessions with Cookies
  • Clean Architecture & Scalable Codebase
  • Production-ready Error Handling

Tech Stack

Frontend (Mobile)

  • Flutter (Dart)
  • State Management: BLoC
  • Networking: Dio
  • Local Storage: Secure Storage / Shared Preferences
  • Dependency Injection: Service Locator

Backend

  • Framework: Frappe (Python)
  • Authentication: Session-based Auth
  • Database: MariaDB
  • APIs: REST

Project Structure

lib/
│── core/
│   ├── constants/
│   ├── error/
│   ├── extensions/
│   ├── network/
│   ├── router/
│   ├── services/
│   └── usecase/
│
│── data/
│   ├── data_source/
│   ├── repositories/
│   └── models/
│
│── domain/
│   ├── entities/
│   ├── repositories/
│   └── usecase/
│
│── presentation/
│   ├── bloc/
│   ├── view/
│   └── widgets/
│
└── main.dart

Setup & Installation

Prerequisites

  • Flutter SDK (3.29.3)
  • Dart >= 3.7.2
  • Android Studio / VS Code
  • Backend server running

Steps

# Clone the repository
git clone https://github.com/VishnuMate27/chat_app_flutter_with_frappe_backend.git
cd chat_app_flutter_with_frappe_backend

# Install dependencies
flutter pub get

# Run the app
flutter run

Environment Configuration

Create a file:

assets/utils/.env

Example

BASE_URL = "https://your-production-domain.com";

Architecture

This project follows Clean Architecture:

  • Presentation Layer → UI & BLoC
  • Domain Layer → Business Logic
  • Data Layer → API & Models

Screenshots

Build for Production

flutter build apk --release
flutter build appbundle

Author

Vishnu Mate Full Stack Flutter Developer

About

A production-grade Flutter application built with clean architecture, scalable state management, and a secure backend integration. This app is designed for real-world usage with authentication, real-time messaging, and modern UI/UX best practices.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors