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.
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: