Skip to content

shaaa4t/whatismyip-app

Repository files navigation

WhatIsMyIP - Clean Architecture 🚀

In clean architecture, there are three main layers

  • config
  • core
  • features

Each feature has three main layers

  • data
  • domain
  • presentation

Implementing Reso Coder’s Clean Architecture

Project Structure

├── lang
├── lib
│   ├── config
│   │   ├── locale
│   │   ├── routes
│   │   └── themes
│   ├── core
│   │   ├── api
│   │   ├── error
│   │   ├── network
│   │   ├── usecases
│   │   ├── utils
│   │   └── widgets
│   ├── features
│   │   ├── ipinfo (details screen)
│   │   │   ├── data
│   │   │   │   ├── datasources
│   │   │   │   ├── models
│   │   │   │   └── repositories
│   │   │   ├── domain
│   │   │   │   ├── entities
│   │   │   │   ├── repositories
│   │   │   │   └── usecases
│   │   │   └── presentation
│   │   │       ├── cubit
│   │   │       ├── screens
│   │   │       └── widgets
│   │   └── myip (home screen)
│   │       ├── data
│   │       │   ├── datasources
│   │       │   ├── models
│   │       │   └── repositories
│   │       ├── domain
│   │       │   ├── entities
│   │       │   ├── repositories
│   │       │   └── usecases
│   │       └── presentation
│   │           ├── cubit
│   │           ├── screens
│   │           └── widgets
│   ├── app.dart
│   ├── bloc_observer.dart
│   ├── injection_container.dart
│   └── main.dart
├── pubspec.lock
├── pubspec.yaml

Screenshots

Main resource 👉 Github, Udemy