GithubHelp home page GithubHelp logo

krullmizter / react-native-weather-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.4 MB

A simple, cross-platform React Native app to demonstrate my overall WebDev, AppDev, React, TypeScript, and API knowledge

License: GNU General Public License v3.0

TypeScript 99.02% JavaScript 0.98%
api app expo react-native typescript

react-native-weather-app's Introduction

React Native Weather App ๐ŸŒž

A simple, cross-platform React Native app to demonstrate my overall WebDev, AppDev, React, TypeScript, and API knowledge

Sadly I'm not a graphics designer, so be gentle

This app uses:


Setup

Feel free to clone or fork the repo

Some prerequisite:

  • Node.js (npm comes pre-bundled with Node)
  • npm / Yarn npm install --g yarn
  • expo-cli: npm install -g expo-cli

After cloning the repo, just navigate to the root directory, and depending on your setup run either: npm install or yarn install

Start the Expo app development Test and start developing the app by navigating to the root directory, and running: npx expo start Hint. Use the -c flag if you want to start the app without cache


OpenWeatherMap API

If you want to use the OpenWeatherMap API, then you need to head over to their website, sign up and get yourself an API key. They've got a free one that works great for starting off or testing. After you have an account and API key:

  • Create an .env file in the root directory
  • Make sure that the .env file is inside your .gitignore!
  • Paste your API key inside the .env file, and name it something cool ๐Ÿ˜Ž
  • For example: WEATHER_API_KEY=1337

TODO

Stuff and features I'd like to add or improve

  • Caching and overall performance enhancements
  • Improved 5-day forecast, more accurate current day forecast
  • Improving the UI
    • Implementing better icons and other media
    • Native feedback, such as error messages as alerts/pop-ups, etc.
    • Transition effects
  • City search input autofill
  • UI/UX app user settings
    • Possible to change different units
  • Charts for high and low temperatures
  • Adding overall testing, CI/CD, and other development focused tooling
  • Redux or alternative state management (if the app grows ๐Ÿ˜Ž)
  • Predictions using AI, and/or translations with LLMs ๐Ÿ˜ฎ

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.