Giter Site home page Giter Site logo

arignee's Introduction

Stories in Ready Build Status

Arignée

A Web-Application for automated evaluations of e-commerce websites.

Background

This Application is Part of my Bachelor Thesis I for the Bachelor of Science in Computing Degree Programme.

You can get some information on my Bachelor I Blog.

API

Arignee uses a ReST-API witch which Website-evaluations can be triggered and evaluation results can be retained.

All responses from the API are in JSON Objects/Arrays

I use a ticketing system that takes advantage of the non-blocking I/O of Play! Get some more information about that on my Blog!

You request You get
/eval/?url=[www.xyz.com] A ticket-number. Your evaluation request is queued and asynchronously started on the server as soon as Play! is ready to process it.
/ticket/[ticket-number] Either a ticket-number and the status for this ticket or the evaluation result if it's already available.*
/history/?url=[www.xyz.com] All evaluation results for this URL with the according date when the result was created
*For the first time after the evaluation result is available, you get some additional information with the results. After that you receive a distilled version without any text.

Example

Let's say you want to evaluate the website www.dary.info by using Arignee's API whereas Arignee is running on your local machine on Port 9000 (default for Play applications).

  • Triggering the evaluation with

    localhost:9000/eval/?url=www.dary.info

The response will be something like:

{TICKET:"7dc53df5-703e-49b3-8670-b1c468f47f1f", STATUS: "QUEUING"}
  • Requesting the Ticket-Status

    localhost:9000/ticket/7dc53df5-703e-49b3-8670-b1c468f47f1f

The response will be something like:

{TICKET:"7dc53df5-703e-49b3-8670-b1c468f47f1f", STATUS: "EVAL_LINK_AMOUNT"}

This means that the request is being processed and the evaluation is happening at the moment. Some time later by again requesting /ticket/[ticket-number] the full evaluation is being returned as a json object which has a form similar to:

- RATING : GOOD
- LINK
-- RATING : EXCELLENT
-- AMOUNT
--- RATING : GOOD
--- IDEAL : 123
--- ACTUAL : 132
-- EXTERNAL_BAKLINKS
--- RATING : EXCELLENT
.... etc. ....

Install

Build from Source

If you want to build Arignee from the source on your own machine you need the Play! Framework installed (see Technologies). You should be able to deploy it by simply running the activator script in the root folder.

./activator run

However, you need an application.conf file in the /conf folder. (Tip: Try renaming the travis.conf file to application.conf, that might work).

Also you need a Database (I use PostgreSQL).

Last but not least, you might have to download some libraries (see Libraries) that are not automatically downloaded or integrated.

I will give some more detailed instructions on building the project once I'be got a working release.

Running the Compiled Application

I will upload the compiled application and give installation instructions once I've got a working release.

Technologies

Libraries

Arignee depends on some vendor Libraries that are not included in the GIT repository.

The JS libraries that are not included via CDN need to be downloaded and copied in the according directory

Java:

Those libraries are automatically downloaded from a Ivy repository, since they are listed in the build.sbt file.

Javacript/CSS:

  • Chart.js v1.0.1 - !! Download chart.js.min and copy to /public/javascripts/vendors

  • jQuery v2.1.1 - Added via CDN

  • Bootstrap v3.3.1 - Added via CDN

License

GNU General Public License Version 2 (see LICENSE file)

Here is a quick&easy Summary of the License

Development

v0.1-DEV - unpublished

arignee's People

Contributors

stristo avatar waffle-iron avatar

Watchers

 avatar  avatar

arignee's Issues

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.