Skip to content

The Weather Forecaster is a user-friendly app that displays countries with their population sizes. When a country is selected, it shows the seven-day weather forecast for its capital city. It provides accurate and up-to-date weather information for travelers and anyone interested in exploring global weather patterns.

Notifications You must be signed in to change notification settings

Lul-Abdifan/Africa-Weather

Repository files navigation


📗 Table of Contents

📖 [Weather Forecaster]

The Weather Forecaster is a user-friendly app that displays countries with their population sizes. When a country is selected, it shows the seven-day weather forecast for its capital city. It provides accurate and up-to-date weather information for travelers and anyone interested in exploring global weather patterns.

🛠 Built With

Tech Stack

Client
    <li>Tailwind</li>
    <li>REACT</li>
    <li>Redux</li>
    

Key Features

  • [Linter checks]
  • [JSX]

(back to top)

🚀 Live Demo

Weather on Render
Weather on Netlify
Weather on Github Page

(back to top)

🚀 Presentation

Zoom

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

(back to top)

Prerequisites

In order to run this project you need:

  • The current version of node
  • To have Git installed on your local machine
  • Node Package manager (npm)
  • An editor such as Visual Studio Code

(back to top)

Setup

Clone this repository to your desired folder:

  • Create your classic access token from github.com
  • run "git clone https://{access_token}@github.com/username/{repo_name}.git"
  • Update your git identity by running "git config --global user.email "your_email@gmail.com""
  • Update your name on git by running "git config --global user.name "your_name"

(back to top)

Install

Install this project with:

- Copy [stylelintrc.json](https://github.com/microverseinc/linters-config/blob/master/react-redux/.stylelintrc.json) to the root directory of your project.
- Run 'npx stylelint "\*_/_.{css,scss}"'
- fix linter errors
- run "npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x"
- Copy [eslintrc.json](https://github.com/microverseinc/linters-config/tree/master/react-redux)
- Run npx eslint . on the root of your directory of your project
- Fix linter error.




### To Install Jest
- run npm install --save-dev jest
- add " "test": "jest", "watch": "jest --watch *.js" to the scripts section of package.json"
- run npm install --save-dev @babel/plugin-transform-modules-commonjs
- create a file at the root called .babelrc
- copy `{
    "env": {
        "test": {
            "plugins": ["@babel/plugin-transform-modules-commonjs"]
        }
    }
}` inside the file

(back to top)

### Usage

To run the project, execute the following command:

  use git bash to open in Vs code
  use npm start to run web dev server
  npm run build to get the production version

(back to top)

Run tests

To run tests, run the following command:

Run "npx hint ."
Run "npx stylelint "**/*.{css,scss} --fix " to fix linters
Run "npx eslint . --fix to fix linters"

Jest tests

To run tests, run the following command:

Install necessary packages and library
Run npm test

(back to top)

Deployment

You can deploy this project using:

  • github pages
- npm run deploy

(back to top)

👥 Authors

👤 Abdi

(back to top)

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project, kindly drop a star for me.

(back to top)

🙏 Acknowledgments

I would like to use this medium to appreciate Microverse that bringing me The best platform ever for me.
I would like to use this medium to appreciate Nelson Sakwa for giving the original design idea
I would like to use this medium to appreciate Weather forecast group and Africa Data

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

The Weather Forecaster is a user-friendly app that displays countries with their population sizes. When a country is selected, it shows the seven-day weather forecast for its capital city. It provides accurate and up-to-date weather information for travelers and anyone interested in exploring global weather patterns.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published