/openweathermap-reactnative

Weather, everybody wants to know how it is going to be during the week. Will it be rainy, windy, or sunny? Luckily for us, in the information age, there are open APIs to retrieve information about it.

Primary LanguageJavaScriptMIT LicenseMIT

React Native OpenWeather App

OpenWeather is a project created by Lucas Montano initially as an One-Day-Challange, then he decided to create an Open Source project to help his followers and everyone getting started with Open Source world building a basic but very strategic application!

Made by Lucas Montano Last Commit Contributors License


Table of Contents


🚀 Getting Started

Prerequisites

  • To run any React Native application you need to configure the environment on your machine.

  • Setting the environment is a complex process, so it's recommended to follow the Rocketseat guide which is currently the most complete and detailed to make the settings:

Clone

  • Clone this repo to your local machine using:
https://github.com/lucasmontano/openweathermap-reactnative

Setup

Android

iOS - MAC Only

  • cd ios && pod install && cd ..

  • react-native run-ios


📋 Features

Documentation

  • Explore the Earth Weather forecast (Real Time)
  • Check detailed information about the weather by coordinates (lat, lon)
  • Bookmark a location
  • Visualize all bookmarked locations in the map
  • Remove a bookmark
  • Data Cache
  • Theme Switcher (Light/Dark Mode)
  • One way data flow (implement a state reducer)
  • Unique source of truth, implementing a centralized repository
  • Search functionality
  • Five+ days forecast
  • Write some tests (of course)

Build with

  • Core
    • React Native - A framework for building native apps with React
  • Navigation
  • Debugging
    • Reactotron - Reactotron is a macOS, Windows, and Linux app for inspecting your React JS and React Native apps
  • Styling
    • Styled Components - Use the best bits of ES6 and CSS to style your apps without stress
  • HTTP Comunication
    • Axios - Promise based HTTP client for the browser and node.js
  • Type Checking
    • prop-types - Runtime type checking for React props and similar objects
  • Linting
    • ESLint - Find and fix problems in your JavaScript code
    • Prettier - Prettier is an opinionated code formatter
  • Extra

🤔 Contributing

To get started...

Step 1

  • 🍴 Fork this repo!

Step 2

  • 👯 Clone this repo to your local machine using https://github.com/lucasmontano/openweathermap-reactnative.git

Step 3

  • 🎋 Create your feature branch using git checkout -b my-feature

Step 4

  • ✅ Commit your changes using git commit -m 'feat: My new feature';

Step 5

  • 📌 Push to the branch using git push origin my-feature;

Step 6

  • 🔃 Create a new pull request

After your Pull Request is merged, can you delete your feature branch.


📌 Support

Reach out to me at one of the following places!


📝 License

License

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


⚒ Other Platforms

Open Weather on Other Platforms:


Made with ♥ Enjoy it!