The following instruction will guide you through the build/deployment/running of the Climate Summary application :
-
Make sure you have following tools installed in your computer
- Maven (complete setup)
- JDK 8
-
After cloning the repositiory and checking out the project , please follow following steps to clean and package the jar
- Go to command prompt and navigate to the repository and project directory
- i.e C:\GITHUB-REPOSITORY\climate-summary\climate-summary>
- where GITHUB-REPOSITORY is the repository location and
- climate-summary is the project directory
- i.e C:\GITHUB-REPOSITORY\climate-summary\climate-summary>
- Give command to clean i.e. C:\GITHUB-REPOSITORY\climate-summary\climate-summary>mvn clean
- Give command to package to generate executable jar file i.e. C:\GITHUB-REPOSITORY\climate-summary\climate-summary>mvn package
- Go to command prompt and navigate to the repository and project directory
-
To start/run the application perform following steps
- Go to command prompt and navigate to target directory i.e. C:\GITHUB-REPOSITORY\climate-summary\climate-summary>cd target
- Give the following command to start the server application
- C:\GITHUB-REPOSITORY\climate-summary\climate-summary\target>java -jar climate-summary-0.0.1-SNAPSHOT.jar
-
To launch application
- On the browser go to : "localhost:8080/" home page
- Provide dates to filter the search results
- Click on any of the link on column "Mean Temp" to get to the summary details page
-
For server side validation - steps to reproduce the error
- Enter any bad URL to replicate error 404 i.e. http://localhost:8080/
- Enter following to replicate internal server error (500) i.e. http://localhost:8080/climatedetails/20000
-
What is covered in this project
- Use of Java, Spring Boot, Sring MVC, Thymeleaf, Maven, Unit test, Logging framework, Use of CSS, Client side validation, Server side validation