Skip to content

prashant-cn/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-app

A basic app to get Weather of your current location or any specific location entered, using Dark Sky and Map Box REST API. This project is helpful for Backend Developers who wants to learn about working with REST API's on some major topics like Geo-Location, Reverse Geo-Location, and working with Weather Forecasting. And for Frontend Developers, all sorts of DOM manipulation using JavaScript on client-side.

Some of the Major technologies used:

  1. NodeJS
  2. ExpressJS
  3. JavaScript
  4. Handlebars

Prerequisites to run the app in local environment

  1. Installed NodeJS
  2. Access token by registering on MapBox
  3. API key from by registering on DarkSky
    Note: DarkSky has been acquired by Apple and they might stop registration of new users at any time or block the account of current users, if that happens you can use https://weatherstack.com/ as an alternative and modifiy code and response associated with DarkSky to WeatherStack.

Step 1: Replace the Access Token and API key for the respective endpoints in src/utils/commonFunctions.js
Note: If using WeatherStack, alter the code code for getting forecast accordingly.

Step 2: Initialize npm and get all the reuired npm packages for the project.

Congratulations! You are good to GO now.

Live URL: https://prashant-cn-weather-app.herokuapp.com/

Ping me at https://www.linkedin.com/in/prashant-kumar-2124b3b4/ if any of you have any questions, suggestions, feedback or just want to say Hi:)

About

Weather app using Dark Sky and Map Box API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages