Coder Social home page Coder Social logo

massive-infinity-assessment's Introduction

Weather Forecast

Assessment project for Massive Infinity

Getting Started

  1. This application use Open Weather Map.

  2. Works only for Android. It could works on iOS but I am using Linux.

Prerequisites

  1. React-Native cli
  2. NodeJs
  3. Android Studio / XCode - For emulator / simulator
  4. IDE - IntelliJ IDEA

Running

  1. react-native start
  2. react-native run-android for android react-native run-ios for iOS.

Running the tests

  1. jest --collect-coverage - This will generate coverage files in both lcov and html

Formatter

  1. Run eslint --fix <directory to ts files>

Build with

  1. Architecture.

    1. redux - State Management
    2. hook - Component Lifecycle
    3. redux-thunk - Async redux
    4. redux-persist - persistent storage
  2. Services

    1. fetch - Network
  3. etc:

    1. es-lint - Linter
    2. Typescript - Development language
    3. Jest - Unit tests

Screenshots

page1

Development environment

react-native --version 3.2.1

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • I am just a developer who keen to explore and get better at what I am doing.

Requirement for Assessment

  • Connecting and retrieval of data from API.
  • Performing validations and showing error messages appropriately.
  • Integration with third-party libraries.
  • Implementing best practises of React Native.

Scoring criteria

  • Accurate user interface
  • Presentable on all iPhone and Android devices.
  • Implementation of React Native best practices, e.g. reusable codes that can be use repetitively, in different screens, projects, or by other team members.
  • Structured and clean codes

Also looking

  • Implementation of custom fonts
  • Implementation of local database, e.g. SQLite

Note.

  1. I am using Ubuntu as my development for this assessment, iOS could be a problem to run.
  2. I am not too sure if redux-persist is consider as local database but this is what I choose.
  3. I didn't tick structure and clean codes since this codebase is purely written by me without peer review. I don't have any saying on this matter.
  4. I didn't tick implementing best practises of React Native as I am not sure if this is the best practice.
  5. This app is using sample open weather api https://samples.openweathermap.org/data/2.5/forecast/daily?lat=35&lon=139&cnt=10&appid=f5494a7c084b83729a1ef81f70d182f6 as from what I read, the api that return weather forecast I not available on free tier.
  6. Do let me know if some of the thing that I didn't tick should be tick and if those that I tick should not be ticked.
  7. I don't see any font that is required, so I picked Sarpanch without any reason why.

massive-infinity-assessment's People

Contributors

yuzurihaaa avatar dependabot[bot] avatar

Watchers

James Cloos 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.