Closed ghost closed 10 years ago
ah so i guess you saw the evil
var exhibits = require("./data/exhibits.json")
shouldn't be hard and pretty easy but i think since its not liquid/volitile data, not making db queries are ok.
If you need custom queries, i can write routes to perform some actions you need.
Nah, just wanted to make sure that if we only return a JSON if it matches cached/stored data, you know? If we want to mutate the dataset, we could do so and not have to rely on a flat file if we don't need to, especially if the City of Norfolk may not update the original data sets all that much, if ever.
Closing since #23 encompasses this.
How much difficulty would returning solely Mongo data pose once imported?