Coder Social home page Coder Social logo

wildlife-tracker's Introduction

Wildlife-Tracker

By Sangwa Sabine Chelsea

Description

This is an app that allows the user to make list of animals and add them to the database, moreover to track endangered animals sighted in the wild.

Project which I am provided with the code containing the basic classes, Spark setup, HandlebarsTemplateEngine, hbs template structure, routing in App.java, tests, and database setup instructions.

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.

Install

Pre-requisites

  1. Ensure you have Java installed (A simple way to install Java is using sdkman.)

    sdk install java

2.Gradle Gradle is used as the build tool and can be installed with sdkman:

sdk install gradle

3.Postgres. (Enter y when prompted โ€œDo you want to continue? [Y/n]โ€ and wait for the installation to complete. 0r try this link)

sudo apt-get install postgresql postgresql-contrib libpq-dev

Installation guide

{follow the below instructions for set up.}

  1. You will need Internet connection.

  2. You need to get into the Wildlife-Tracker Repository.

 Link:-> https://github.com/Sangwa-C/Wildlife-Tracker.git
  1. From there you can access the Wildlife-Tracker.

  2. Clone the project.

  3. get into project folder (cd into project).

  4. If you have all the Pre-requisites you can run the application.

 gradle run

Manual Database Creation

To create the necessary databases, launch postgres, then psql, and run the following commands:

  • CREATE DATABASE wildlife_tracker;
  • \c wildlife_tracker;
  • CREATE TABLE animals (id serial PRIMARY KEY, name varchar);
  • CREATE TABLE sight CREATE TABLE sightings (id SERIAL PRIMARY KEY,name varchar,location varchar,rangeName varchar,health varchar, age varchar);
  • CREATE DATABASE wildlife_tracker_test WITH TEMPLATE wildlife_tracker;

BDD

The program should allow the user to add an Animal.

Input Example: "Animals's Name: Zebra"

The program should return when the user add an animals to the database

Output Example: "Animals's Name: Zebra"

The program should allow the user to report an endangered animal

     Input Example: "Animals's Name: Zebra"   
                    "Animal's Health: healthy"
                    "Animals's Age: New born"
                    "Animal's location: zone A"
                    "Reporter's Name: Chelsea"

Known Bugs

bug This webpage is not suitable for all screen sizes and it might load slowly if your internet is low.

bug Can submit empty or invalid characters in a non-endangered animal sighting report.

bug Can submit empty or invalid characters in an endangered animal sighting report.

bug User can submit empty or invalid characters when adding an animal to the system.

bug User can not delete entry.

bug User can not update entry.

bug Recording date of sighting not displayed in detail

Technologies Used

  • JAVA
  • Gradle
  • Spark
  • HTML
  • CSS & Bootstrap
  • PostgreSQL
  • Junit
  • Heroku

Support and contact details

If you any issues or have questions, ideas or concerns contact us on [email protected].

License

MIT Copyright (c) 2019 Sangwa Sabine Chelsea. # Wildlife-Tracker

wildlife-tracker's People

Contributors

sangwa-c avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.