Skip to content
View this-sunil's full-sized avatar
🐧
🐧

Block or report this-sunil

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
this-sunil/README.md

🐝 Hi Friends, I'm Sunil! 🐝

👨‍💻 Senior Flutter Developer | Web Developer Profile Views Visitors

🚀 Building clean, scalable, and high-performance mobile & web applications


💡 About Me

  • 🔭 Senior Flutter Developer with 4+ years of experience
  • 🌱 Currently learning React.js, Node.js, and Express.js to grow as a Full-Stack Developer
  • 👯 Open to collaborating on Flutter apps, modern web applications, and full-stack projects
  • 🤔 Passionate about performance optimization, scalable architectures, and clean code practices
  • 💬 Ask me about Flutter, Web Development, APIs, and Application Architecture
  • 📫 Portfolio: https://farmer-brand.vercel.app/
  • 😄 Pronouns: He / His
  • ⚡ Fun fact: I can spend hours debugging — and still enjoy it!

🛠️ Tech Stack

📱 Mobile

Flutter Dart

🌐 Frontend

HTML5 CSS3 JavaScript Bootstrap jQuery React


🌐 Connect With Me


🖥️ Backend & Database

Node.js Express.js PostgreSQL

⚙️ Tools

Firebase Postman VS Code Android Studio


🚗 Vehicle Repair Service

A Flutter-based vehicle repair service application for managing vehicle repair and service operations.

Flutter Dart REST API Tests


📖 About The Project

Video 1 Video 2

✨ Features

Feature Description Status
👤 User Registration Create a new user account ✅
🔐 User Login Authenticate registered users ✅
👤 Fetch Profile Retrieve user profile ✅
✏️ Update Profile Update user information ✅
🌐 REST API Backend API integration ✅
🧪 Unit Testing Authentication API testing ✅

🔐 Authentication APIs

# API Purpose Status
1 Register Create a new user account ✅ Passed
2 Login Authenticate an existing user ✅ Passed
3 Fetch Profile Retrieve user profile ✅ Passed
4 Update Profile Update user profile ✅ Passed

🛠️ Tech Stack

Technology Purpose
Flutter Mobile Application Framework
Dart Programming Language
REST API Backend Communication
AuthRepository Authentication API Layer
Repository Pattern Application Architecture
Flutter Test Unit Testing

🧪 AuthRepository API Testing

Run Test

vehicle_repair_service/
│
├── android/
├── ios/
│
├── lib/
│   ├── models/
│   ├── repositories/
│   │   └── auth_repository.dart
│   ├── services/
│   ├── screens/
│   └── main.dart
│
├── test/
│   └── auth_repository_test.dart
│
├── pubspec.yaml
└── README.md

🔐 Authentication

The AuthRepository is responsible for authentication and user profile API operations.


🧪 Unit Testing

The AuthRepository has been tested using Flutter's built-in testing framework.

Test File
test/
└── auth_repository_test.dart

Run AuthRepository Tests
flutter test test/auth_repository_test.dart

## Run All Tests
flutter test

📊 Test Results

# Repository Test Case Status
01 AuthRepository Register API ✅ Passed
02 AuthRepository Login API ✅ Passed
03 AuthRepository Fetch Profile API ✅ Passed
04 AuthRepository Update Profile API ✅ Passed

📋 Test Summary

Metric Result
Total Tests 4
Passed 4 ✅
Failed 0 ❌
Success Rate 100% 🎉
🔍 Test Output
00: AuthRepository Register
    ✓ register API should show result

01: AuthRepository Login
    ✓ login API should show result

02: AuthRepository Fetch Profile
    ✓ fetchProfile API should show result

03: AuthRepository Update Profile
    ✓ updateProfile API should show result

────────────────────────────────────────────

✓ All tests passed!

🌐 API Documentation

  1. 📝 Register API Response
{
    "status": true,
    "msg": "User register Successfully !!!",
    "result": {
        "id": 27,
        "name": "Abhinav Jadhav",
        "phone": "9887675778",
        "photo": "",
        "role": "user",
        "created_at": "2026-08-31T11:18:43.344Z"
    }
}

Status: ✅ Passed

  1. 🔐 Login API Response
{
    "status": true,
    "msg": "Login Successfully !!!",
    "result": {
        "id": 27,
        "name": "Abhinav Jadhav",
        "phone": "9887675778",
        "photo": "",
        "role": "user",
        "created_at": "2026-08-31T11:18:43.344Z"
    }
}

Status: ✅ Passed

  1. 👤 Fetch Profile API Response
{
    "status": true,
    "msg": "Fetch User Successfully",
    "result": {
        "id": 27,
        "name": "Abhinav Jadhav",
        "phone": "9887675778",
        "photo": "",
        "role": "user",
        "created_at": "2026-08-31T11:18:43.344Z"
    }
}

Status: ✅ Passed

  1. ✏️ Update Profile API Response
{
    "status": true,
    "msg": "Update Profile Successfully !!!",
    "result": {
        "id": 27,
        "name": "Sunil Shedge",
        "phone": "9887675759",
        "photo": "",
        "role": "user",
        "created_at": "2026-08-31T11:18:43.344Z"
    }
}

Status: ✅ Passed

📋 API Test Matrix

API Response Status Result Test
Register true User registered successfully ✅ Passed
Login true Login successful ✅ Passed
Fetch Profile true User profile fetched successfully ✅ Passed
Update Profile true User profile updated successfully ✅ Passed

🚀 Getting Started

Prerequisites

Before running the application, make sure the following are installed:

  • Flutter SDK
  • Dart SDK
  • Android Studio or VS Code
  • Android Emulator or Physical Android Device

Installation

  1. Clone the Repository
git clone https://github.com/this-sunil/vehiclerepairservice.git
  1. Navigate to the Project
cd vehicle_repair_service
  1. Install Dependencies
flutter pub get
  1. Run the Application
flutter run

🏗️ Architecture

The project follows a repository-based architecture.

┌─────────────────────┐
│      Flutter UI     │
└──────────┬──────────┘
           │
           ▼
┌─────────────────────┐
│   AuthRepository    │
└──────────┬──────────┘
           │
           ▼
┌─────────────────────┐
│       REST API      │
└──────────┬──────────┘
           │
           ▼
┌─────────────────────┐
│    Backend Server   │
└─────────────────────┘

AuthRepository Responsibilities

  • Handle authentication requests
  • Handle profile requests
  • Communicate with REST APIs
  • Process API responses
  • Keep API logic separate from UI

🔄 Authentication Flow

User
  │
  ▼
Flutter UI
  │
  ▼
AuthRepository
  │
  ▼
REST API
  │
  ▼
Backend
  │
  ▼
JSON Response
  │
  ▼
Flutter UI

📈 Current Test Status

Component Status
Register API 🟢 Working
Login API 🟢 Working
Fetch Profile API 🟢 Working
Update Profile API 🟢 Working
AuthRepository 🟢 Working
Unit Tests 🟢 Passing

🎯 Final Result

AuthRepository API integration is working as expected.

All 4 authentication APIs have been successfully tested.

Result Value
Total APIs Tested 4
Successful APIs 4
Failed APIs 0
Success Rate 100%
Overall Status 🟢 PASS

✅ Conclusion

The AuthRepository API integration has been successfully implemented and tested.

The following authentication operations are working correctly:

  • ✅ Register API
  • ✅ Login API
  • ✅ Fetch Profile API
  • ✅ Update Profile API

🎉 Final Test Result

4 / 4 Tests Passed

100% Success Rate

Authentication Integration: 🟢 Working

📌 Project Status

Module Status
Authentication 🟢 Completed
Register 🟢 Completed
Login 🟢 Completed
Fetch Profile 🟢 Completed
Update Profile 🟢 Completed
Unit Testing 🟢 Completed

📄 License

This project is developed for the Vehicle Repair Service application.

⭐ Support

If you find this project useful, consider giving the repository a ⭐.

Vehicle Repair Service Flutter • Dart • REST API • AuthRepository • Unit Testing

Pinned Loading

  1. farmer_brand_app farmer_brand_app Public

    I am working with nodejs with flutter

    Dart

  2. portfolio portfolio Public

    My Portfolio

    Dart 1

  3. WhatsApp-ui-clone WhatsApp-ui-clone Public

    WhatsApp Ui clone

    Dart