Giter Club home page Giter Club logo

elite-dangerous-market-tracker's Introduction

elite-dangerous-market-tracker's People

Contributors

sean-clayton avatar

Stargazers

 avatar

Watchers

 avatar  avatar

elite-dangerous-market-tracker's Issues

Public API

Enables anyone to hit the site and receive JSON. I think I only want to support JSON at the moment, but if someone wants to contribute other formats like XML or YAML or something, that'd be cool 😎

I want the URL to hit be any url with data, suffixed with .json. So if, for example, http://elitemarkettracker.com/system/LHS-3448/ shows a bunch of info for that specific system and its stations, etc, then http://elitemarkettracker.com/system/LHS-3448/.json should return the JSON for that. Shouldn't be hard to implement.

Data Structure

I'm a plain ol' front-end dev who just happens to know a now-backend language (JS/CS). I suck at databases. Really bad. Any help or input on how to structure this database would be great 😎! All I'm really asking for is some direction on how I should handle the structure of the Station -> Commodities Market. There is a lot of repeated information inside of the way I'm thinking, which would be something like:

{
  name: "Abraham Lincoln Gateway"
  system: "Sol"
  type: "station"
  market: [
    {
      category: "Chemicals"
      name: "Explosives"
      buy: 123
      sell: 321
      isRare: false
      date: "2015-01-11T23:20:10.345Z"
    }
    {
      category: "Chemicals"
      name: "Hydrogen Fuels"
      buy: 456
      sell: 123
      isRare: false
      date: "2015-01-11T23:25:35.526Z"
    }
  ]
}

{
  name: "Dalton Gateway"
  system: "LHS 3447"
  type: "station"
  market: [
    {
      category: "Chemicals"
      name: "Explosives"
      buy: 232
      sell: 121
      isRare: false
      date: "2015-01-11T23:20:10.345Z"
    }
    {
      category: "Chemicals"
      name: "Hydrogen Fuels"
      buy: 787
      sell: 542
      isRare: false
      date: "2015-01-11T23:25:35.526Z"
    }
  ]
}

I think it might be a better way to optimize thisβ€”maybe, maybe not, but I'm not knowledgable on the subject enough to decide that.

URL scheme

I'm a huge proponent of semantic things, so the URL should reflect that.

Per-Account Dashboard

There should be a dashboard where you can build your own graphs. This is gonna be a hard one to crack, but I want it in :)

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.