Giter Site home page Giter Site logo

rn-home-assignment's Introduction

RN-home-assignment

The goal of the developer exercise is to take a quick dive into a React Native to build a ios/android application which could show our weather.

We need:

Screenshot 2021-05-03 at 02 57 58

React Native (No Expo)

  1. Show current city's current weather and future weather based on GPS.
  2. User could login and store their watch list.
  3. User could share one city's weather to others by email.

Backend (Choose your favorite language)

  1. connect to DB (NoSQL, SQL, up to you)
  2. deal with signin and signup.
  3. deal with user's watch list
  4. fetch weather from another source and store the weather data to redis. The data should be expired after 1 hour. If one city's weather is cached, no need to fetch weather from weather source again.

Bonus: GraphQL

How start the project

  1. in /back npm i && npm start
  2. in /app yarn && yarn react-native run-android
  3. Dependences: Redis in local (redis-server need to be launch)
  4. In localhost with real device u need to change the API_URL in app/config.js with your own ip (ifconfig | grep inet) and update the file "android/app/src/main/res/xml/network_security_config.xml", -> add your own ip. This step is necessary for call the local API with your device
  5. Project was developed with an android device

rn-home-assignment's People

Contributors

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