ucd-library / csus-sp-2018-app

MIT License
1 stars 1 forks source link

Backend Stuff #29

Closed DerekMaggio closed 5 years ago

DerekMaggio commented 5 years ago

ldp_post.js: Changed to be a composition of box_data.js

box_data.js: Changed to be a composition of tesseract_response.js

tesseract_response.js: Changed to be a composition of tesseract_request.js. Runs against Joi validation schema. Object is immutable.

tesseract_request.js: Now is ran against Joi validation scheme. Object is now immutable.

tesseract_controller.js: Now takes the response from tesseract and creates an instance of tesseract_response. Ready for parsing

tesseract_schemas.js: Created a tesseract_response_schema to validiate against.

tesseract_model.js: Creating tesseract request and response objects

leaflet.js: Now calling a file that actually exists on our local server. This solves the problem of not being to query localhost. Derek is an idiot sometimes.