Giter Site home page Giter Site logo

BazaarTicker

BazaarTicker is a website that tracks product data from Hypixel's API, displays data, and emails users when user defined price conditions are met. This website serves as a visual interface of the virtual in-game stock prices in the Hypixel Skyblock Bazaar market.

Motivation

This project was created as a personal project by students, to develop skills in PHP, JS, HTML, and CSS and to familiarize ourselves with technologies such as AWS and MySQL. This website is currently being hosted using Amazon Web Services, using a LAMP stack (Amazon Linux).

Technologies

Last working build with:

  • Bootstrap 3
  • PHP 7.4.1
  • jQuery 1.2.1
  • CSS 3
  • HTML
  • Javascript

Features

Live graphing

  • 200+ items available
  • One week of price history

Email Tracking

  • Can request for an email upon an item being sold or bought at a threshold

Table of live info

  • Precise, to-date buy and sell information:
    • Quantity
    • Price
    • Orders

Code

  • main.js contains all code pertaining to: the resizing of display depending on screen size, the search box and which items are shown in the dropdown, the picture display under the graph and the buy and sell information tables.
  • graph.js contains all code pertaining to the display of data in the centre graph
  • validation.js contains all code pertaining to the email form on the right side of the page and sending its data to serverside/formToServer.php
  • serverside/
    • formToServer.php contains code that writes information received by validation.js to a MySQL database
    • checkEmails.php is run every 2 minutes with a cron job set up in the EC2 server to check through any emails in the database to see if their requirements are met and then are sent to the specified email using SMTP from PHPMailer.
    • getDataFromServer.php is called by graph.js in order to obtain past information and put it into the graph since Hypixel's Bazaar API does not provide any past data.
    • tracker.php is run infinitely in a loop to get data from the Hypixel API and store the data received into a database

Inspiration

This app is inspired by other Hypixel API trackers like (https://stonks.gg)

Screenshot

bazaarticker's Projects

bazaarticker icon bazaarticker

Virtual in-game market tracker built using a LAMP stack hosted on AWS

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.