Wiremock code for weather aplication

Introduction

This project aims to set up Wiremock server and explore different scenarios to stub APIs.

A web-based weather application is implmented which calls OpenWeather API to display current weather. This project stubs the response from OpenWeather API

Pre-requisites

  1. Install JDK 8 and Maven
  2. OpenWeather API key, follow instructions here

Start wiremock server

Run on the terminal:

java -jar wiremock-jre8-standalone-2.27.0.jar

Wiremock would start on https://localhost:8080