Skip to content

Demo Project that uses Uncle Bob's Clean architecture principles along with MVP pattern for the UI layer

License

Notifications You must be signed in to change notification settings

javalnanda/JSONFeedParser

Repository files navigation

Actions Status codecov

JSONFeedParser

Description

JSonFeedParser is built using MVP (Model View Presenter) and Clean Architecture concepts. It uses http://jsonplaceholder.typicode.com/posts url for displaying the Posts screen data and http://jsonplaceholder.typicode.com/comments?postId=1 url for displaying the details screen data.

Application contains Unit Tests for UseCases, Presenters, Repositories and basic UI Tests for Posts and Detail screen.

TODO/ Improvements

  • Unit Tests for Core Data
  • Custom Error Handling for specific error codes and Reachability check before hitting api request.
  • Use Swifter for UITests as a mock server. I have not used it at this point as the application is only performing the GET operation and hitting the actual url also serves as an End-to-End test. Mock server is recommended when performing any operations which alters the DB.
  • Can introduce Reactive framework when application grows and use other features with MVVM+Rx pattern

About

Demo Project that uses Uncle Bob's Clean architecture principles along with MVP pattern for the UI layer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages