🐝 Hi Friends, I'm Sunil! 🐝
👨💻 Senior Flutter Developer | Web Developer
🚀 Building clean, scalable, and high-performance mobile & web applications
- 🔭 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!
- 🌐 Portfolio: https://farmer-brand.vercel.app/
- 💼 GitHub: https://github.com/this-sunil
- 📧 Email: swarajya888@gmail.com
- 🔗 LinkedIn: https://www.linkedin.com/in/sunilshedge/
A Flutter-based vehicle repair service application for managing vehicle repair and service operations.
|
|
| 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 | ✅ |
| # | 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 |
| 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 |
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| # | 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 |
| 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!
- 📝 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
- 🔐 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
- 👤 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
- ✏️ 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 | 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
- Clone the Repository
git clone https://github.com/this-sunil/vehiclerepairservice.git
- Navigate to the Project
cd vehicle_repair_service
- Install Dependencies
flutter pub get
- 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
| Component | Status |
|---|---|
| Register API | 🟢 Working |
| Login API | 🟢 Working |
| Fetch Profile API | 🟢 Working |
| Update Profile API | 🟢 Working |
| AuthRepository | 🟢 Working |
| Unit Tests | 🟢 Passing |
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
| 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
