GithubHelp home page GithubHelp logo

kyletrippk / wild-tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from allanlimo02/wild-tracker

0.0 0.0 0.0 1.37 MB

This is a wildlife tracking app. It helps rangers record the number of animals they find in their search mission and record them according to their condition and age

License: MIT License

Java 50.25% Handlebars 49.75%

wild-tracker's Introduction

Wild Animal Tracker App ๐ŸŒฒ ๐Ÿต ๐Ÿ’ ๐Ÿ˜

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


Author

  • ALLAN LIMO

Getting Started

Clone this repository to your local machine to get Started


Prerequisites

You need the following installed on your machine

  • java
  • JDK - Java Development Kit
  • Maven
  • Gradle
  • An IDE - Intellij
  • Postgres DBMS
  • Be familiar with Handlebars

To confirm run the following command on linux

$ java --version       
$ mvn --version        
$ gradle --version     

Installing

  • Clone this project using git clone https://github.com/allanlimo02/Wild-Tracker.git

After cloning to your local machine navigate to the folder you cloned into and open it with intellij.

  • Navigate into the src/main/java/App.java and click run in intellij.
  • Go to your browser and type localhost:4567

##Setting up database

Use the folloring comands to create databse and tabes

  • psql
    • CREATE DATABASE wildlife_tracker;
    • \c wildlife_tracker
    • CREATE TABLE animals (id serial PRIMARY KEY, name VARCHAR,health VARCHAR,age VARCHAR,endangered BOOLEAN)
    • CREATE TABLE sighting (id serial PRIMARY KEY, rangerId VARCHAR,animal_id,location VARCHAR)

Running the Tests

Create a test class for running tests in the application.

This is a sample test that tests if the getter method works

  @Test
    public void animal_name() {
        Animal animal = new Animal(1,"Lion");
        assertEquals("Lion", animal.getName());

    }

Built With


Contributing

Contact me for any future colaborations.


License

This project comes with MIT LICENCE binded to it.

wild-tracker's People

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.