Skip to content

This is a weather forecast app! Here you can search for a city and get the weather forecast for the day and the next 4 days! It also includes weather forecast data with 3-hour step.

Notifications You must be signed in to change notification settings

yandrakarine/weather-ease

Repository files navigation

❄️ Weather Ease ☀️

Demo

🎥 You can see an example video of its use here, remember to put the video in high resolution 😉.

Description

App that shows Open Weather Api about weather forecasts for cities.

🚧 Weather Ease 🚀 Building... 🚧

This is a new React Native project, bootstrapped using @react-native-community/cli.

Getting Started

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Step 1: Clone this repository

# clone this repository
git clone https://github.com/yandrakarine/weather-ease

# Navigate to the project folder
cd weather-ease

Step 2: Installing dependencies

Now you need to install all the necessary depedencies for the project by running the following command:

# using npm
npm install

# OR using Yarn
yarn

Step 3: Start the Metro Server

You will need to start Metro, the JavaScript bundler that ships with React Native.

To start Metro, run the following command from the root of Weather Ease App project:

# using npm
npm start

# OR using Yarn
yarn start

Step 4: Start your Application

Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:

For Android

# using npm
npm run android

# OR using Yarn
yarn android

For iOS

# using npm
npm run ios

# OR using Yarn
yarn ios

If everything is set up correctly, you should see Weather Ease running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.

This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.

Congratulations! 🎉

You've successfully run and modified your Weather Ease App. 🥳

Troubleshooting

If you can't get this to work, see the Troubleshooting page.

Userful methods

Checking TypeScript

We check TypeScript every commit, but you can check it in isolation by running the following command:

yarn test:tsc

Commits

In this project we followed the Git Flow commits pattern, to help us in the process we used Commitizen

yarn commit

Running unit tests

We've added some unit tests for utility functions. You can run them using the following command:

# run all of them
yarn test

# run for a specific file
yarn test 'fileRelativePath'

🛠 Techs

The following tools were used in building the project:

Author



🚀 Yandra Karine

Made with ❤️ by Yandra Karine 👋🏽 Contact me!

Linkedin Badge

About

This is a weather forecast app! Here you can search for a city and get the weather forecast for the day and the next 4 days! It also includes weather forecast data with 3-hour step.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published