Antony Ng'ang'a
A java spark app for the Forest Service to conduct an environmental impact study and record number of animals listing whether they are endangered or not.
- java 11
- spark core 2.12
- Gradle 4.10
- Spark Template Velocity
- Junit 5
- Postgres database
In PSQL:
- CREATE DATABASE wildlife_tracker;
- CREATE TABLE animals(id SERIAL PRIMARY KEY,name varchar, endangered boolean, age varchar);
- CREATE TABLE sightings(id SERIAL PRIMARY KEY, rangername varchar , location varchar, spotted timestamp, animalid int);
Use junit testing framework with the command below:
- gradle test
Follow the following instructions to run the application:
- clone this repo https://github.com/ANM05/wildlifeTracker
- cd into the cloned directory
- Open with preferred java text editor incase you are interested in making some modifications
- Run the application using gradle
Incase of any questions or comments you can reach me: @antonynganga05@gmail.com
Copyright (c) 2019 Antony Ng'ang'a