Giter Club home page Giter Club logo

instabug-task's Introduction

Instabug-task

App screenshots

APK Download:

Click here

Tools & APIs:

  • Kotlin
  • View Binding
  • ViewModel
  • Live data
  • I didn't use Dagger hilt for DI as it's considered as 3rd parties.

Some Documented functions

Code Architecture:

Mvvm, Mvi for Home Activity.

Requriments:

We need you to create an application that will help in testing backed APIs. This application must allow us to do the following:

  1. Enter URL to connect to
  2. Add request headers which numbers are dynamic
  3. App must support GET/POST a. For POST request type, App must provide a way to enter request body as string
  4. After request completion the app needs to display the following: a. Response code b. Error if any c. Request/Response headers d. Request body or query parameters depending on request type /Response body
  5. If the device is offline then app must show an error message and do not make the call

Notes:

Your app must not use any third party libraries. We consider (Retrofit, volley, coroutines, room….etc) as 3rd parties

Dynamic Headers / query parameters:

Without using List view or Recycler view.

Validate data:

We validate the following befor making any API call
URL using -> REGEX
Request type (GET / POST)

For background tasks:

used: Executers

For Network Calls:

used: HttpURLConnection

Endpoints for test:

GET request: Daily cat facts

POST request: https://reqres.in/api/users
Request body -> {\"name\": \"Upendra\", \"job\": \"Programmer\"}

instabug-task's People

Contributors

ahmed-shehataa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.