GithubHelp home page GithubHelp logo

manusekhon / weather-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iammohitsakhuja/weather-app

0.0 1.0 0.0 1.16 MB

An app to display weather info

License: GNU General Public License v3.0

HTML 0.60% CSS 20.62% JavaScript 78.78%

weather-app's Introduction

Weather app

A simple responsive weather app for displaying weather data for various locations in the form of cards. The design of the app tries to be as minimalistic as possible, keeping out the clutter from the main view. Cards can be expanded so as to show the hourly and daily weather data.

Demo

Demo

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development.

Prerequisites

You will need the following, before running the project:

The version numbers for Node and Yarn are important as they ensure that the changes due to node/yarn updates do not break the app. You can use NVM to install multiple versions of Node.

Installing

Once you have installed and obtained all the prerequisites, now it's time to set up your local development environment.

First, clone the project.

$ git clone https://github.com/mohitsakhuja/weather-app.git
Cloning into 'weather-app'...

Now, go into the server directory and create a file named .env.development.local with the following content:

HERE_MAPS_API_ID="YOUR HERE MAPS API ID"
HERE_MAPS_APP_CODE="YOUR HERE MAPS APP CODE"
DARKSKY_API_KEY="YOUR DARK SKY API KEY"

Do not forget to substitute the appropriate values into that file.

Once done, come back into the root directory for the project and run:

$ yarn install
...

This will install all of the dependencies for the project, and might take a while. After it is complete, run the project by executing the following in the project root:

$ yarn start:dev
yarn run v1.12.1
...

This will start the development server. You can open the app in your browser by visiting http://localhost:3000. And the API server will be running on port 3001 if no other port was specified in the environment.

Built With

  • React - Client side rendering
  • Redux - Client side state management library
  • Express - Handling requests

Contributing

For contributing guidelines, go through CONTRIBUTING.

Authors

Full list of contributors and maintainers is available here.

License

This project is licensed under GPL v3 - See the LICENSE file for details.

Acknowledgements

  • Thanks to Dark Sky for providing Skycons, over which we created a wrapper to make it work with React.
  • Thanks to Freepik for providing static icons.

weather-app's People

Contributors

gurmanjot avatar iammohitsakhuja avatar manuindersekhon avatar raviigarg avatar

Watchers

 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.