diegolameira / weather-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


WEATHER WEB


View Demo · Report Bug · Request Feature

Table of Contents

About The Project

This is a web application that displays cities' weather nearby a given location

Built With

Getting Started

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

Prerequisites

// npm
npm install npm@latest -g
// yarn
npm install yarn@latest -g

Installation

  1. Clone the repo
// https
git clone https://github.com/Lucc4sMartins/weather-web.git
// ssh
git clone git@github.com:Lucc4sMartins/weather-web.git
  1. Install dependencies
npm install
// or
yarn install
  1. Get a free Open Weather API key

  2. Create a Google Project and get an API key

  3. Enable Places API and Maps JavaScript API for your project following these steps

  4. Duplicate the .env.sample file, rename it to .env and fill the variables with the keys you just created on step 3 and 4

Available Scripts

In the project directory, you can run:

npm start or yarn start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

npm run build or yarn build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

See the section about deployment for more information.

Contact

LinkedIn luccasmartins.nave@gmail.com

About


Languages

Language:JavaScript 93.7%Language:HTML 6.3%