Skip to content

Shoe Management App in Kotlin (MVVM, Retrofit, Okhttp, RecylerView..)

Notifications You must be signed in to change notification settings

mertncu/ShoeManagementApp

Repository files navigation

MVVM Architecture Sample Android Shoe Management System App

About Project

This Project, developed using MVVM architecture, connects to a RESTful API with Retrofit, is an Android application that allows users to manage their shoe data. Users can perform basic CRUD Operations.

Libraries and Technologies Used

  • OkHttp and Retrofit: Used to send HTTP requests and connect to the API.
  • Gson: Used for processing JSON data.
  • Kotlin Coroutines: Used for asynchronous programming.
  • AndroidX Components: RecyclerView, AppCompat, Material Design components and other AndroidX libraries were used.

Features

Basic CRUD Operations:

  • Add Shoes: Users can add new shoe information.
  • Update Shoes: Users can update existing shoe information.
  • Delete Shoes: Users can delete existing shoes.
  • View Shoes: Users can view existing shoes.

MVVM Architecture

mvvm-diagram

This project was developed using the MVVM (Model-View-ViewModel) architecture. The role of each component is as follows:

  • Model: Shoe data model classes were used to represent the data returned from API calls.
  • View: User interface components
  • ViewModel: Middleware classes that manage the connection to the UI and execute the business logic.

The app has following packages:

image

How to Launch

  1. Clone this repository: git clone https://github.com/mertncu/RetrofitDataFetch
  2. A database with JSON Output like this (I didn't use a local database, I prefer remote in this project)
    "Shoes": {
     "ShoeBrand": "",
     "ShoeColour": "",
     "ShoeId": "",
     "ShoeModel": "",
     "ShoePrice": "",
     "ShoeSize": ""
    }
    
  3. Open the project folder in Android Studio.
  4. Run the application using an Android device or emulator.

References

Contributions

If you would like to contribute to this project, please submit a pull request. We welcome your contribution!

About

Shoe Management App in Kotlin (MVVM, Retrofit, Okhttp, RecylerView..)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages