A Java and spark web-app that aids wildlife rangers in recording of animals sightings. The animals sighted could be either classified as endangered or not.
The Forest Service is considering a proposal from a timber company to clearcut a nearby forest of Douglas Fir. Before this proposal may be approved, they must complete an environmental impact study. This application was developed to allow Rangers to track wildlife sightings in the area.
An app that aims at tracking the wildlife numbers. Rangers are able to spot animals, both endangered and non-endangered then record them in a sightings record.
- JAVA
- SPARK
- JUNIT
- Velocity Template Engine
- PSQL
To use the code, you can clone the repository at: https://github.com/sammwaura/Wildlife-tracker.
- $ git clone https://github.com/sammwaura/Wildlife-tracker.git
- $ cd wildlife-tracker
- $ gradle run
- Go to localhost:4567 in your browser
-
Run in terminal : postgress
-
Run in new terminal window: psql
-
Run in psql: CREATE DATABASE wildlife_tracker;
-
Run in psql: CREATE TABLE animals (id serial PRIMARY KEY, name varchar);
-
Run in psql: CREATE TABLE sightings (id serial PRIMARY KEY, animal_id int, location varchar, ranger_name varchar);
-
CREATE TABLE endangered_animals (id serial PRIMARY KEY, name varchar, health varchar, age varchar);
-
Run in psql: \connect wildlife_tracker