Coder Social home page Coder Social logo

jsonplaceholderposts's Introduction

JsonplaceholderPosts

Written using react-native, tested on both iOS & Android.

Considerations

There were a couple of considerations I had when I started the project.

  1. Do I need unit & snapshot tests?
  2. Do I need storybook?
  3. Do I need redux? (and should I use redux-saga?)
  4. How do I incorporate good 12factor practices in this exam?
  5. Do I follow atomic design?
  6. Do I structure using a straightforward variant of ducks or follow domain-driven folder structure?

In the end - I ended up with a simple solution using component state instead of redux, no unit tests (as there are no domain-specific logic), no snapshot tests (I designed on the fly), no 12factor (too complex), followed atomic design (but lacking organisms), and used a variant of ducks following domain-driven folder structure. (see: https://github.com/erikras/ducks-modular-redux)

Running

Extra setup requried for setting up : Android Studio & XCode for Android & iOS respectively.

  1. Clone the project
  2. yarn
  3. react-native run-ios or react-native run-android

Posts Comments

jsonplaceholderposts's People

Contributors

akiwarheit avatar dependabot[bot] avatar

Watchers

 avatar  avatar  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.