Skip to content

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.

License

Notifications You must be signed in to change notification settings

lucasmontano/openweathermap-reactnative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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!

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published