Coder Social home page Coder Social logo

aimalamiri / react-temperature Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.52 MB

This React application is a simple tool which provides the weather data in Celsius units for the capital cities of some countries.

HTML 13.22% CSS 3.04% JavaScript 83.18% Shell 0.56%
api react reactapi reactjs redux tailwindcss weather weather-app weather-forecast

react-temperature's Introduction

React Temperature

This React application is a simple tool which provides the weather data in Celsius units for the capital cities of some countries, with a flag and population on the homescreen. This application gets data from the Open Weather Mapย API.

Screenshot

Screenshot image

Built With

  • React
  • Redux
  • React Router
  • Tailwind CSS
  • Framer Motion
  • Webpack
  • Jest and React testing library (for testing)

Live Demo

Getting Started

To get a local copy up and running follow these simple steps:

Prerequisites

Open your terminal and navigate to the folder you would like to save the project.

Setup

Type these commands into the terminal:

You will need a .env file before you install and run the project. There is included an example file .env.example

  • cp .env.example .env (if you are using Linux or macOS)
  • If you work on Windows, you can use this command in Git Bash.

Note: You'll need to create an API key on the Open Weather Map and use it on .env file

Install

Type this command into the terminal:

  • npm install

Build

Type these commands into the terminal:

  • npm run build

Run the local server

Type these commands into the terminal:

  • npm run start
  • Your web browser will open on localhost:3000

Run tests

Type this command into the terminal:

  • npm run test

Authors

๐Ÿ‘ค Aimal Amiri

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a โญ๏ธ if you like this project!

Acknowledgments

๐Ÿ“ License

This project is MIT licensed.

react-temperature's People

Contributors

aimalamiri avatar

Watchers

 avatar  avatar

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.