Skip to content

leungk712/weather-kl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

Weather KL Demo

Summary

This application allows a user to log into a web application via Google OAuth. After logging in, the user is required to set a base url and api key targeting the WeatherStack API base. After the settings are set, the user can now type in cities from around the world retrieving general weather information

demo_gif

Client

  1. Open a terminal instance
  2. cd client directory
  3. create an .env file and populate it with values from .env.sample
  4. npm install
  5. npm run build
  6. A dist file should be generated which will be served by the server

WeatherStack

  • WeatherStack base Url https://api.weatherstack.com/current?access_key=
  • WeatherStack API Key can be generated via a Free Account

Testing

  • To run tests, in your terminal run npm run test

Server

  1. Open another terminal instance
  2. cd server directory
  3. create an .env file and populate it with the values from .env.sample
  4. npm install
  5. npm run start
  6. Open a browser and go to localhost:(3010|3000)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published