PricePinion / PricePinion-Backend

This repo is the backend for PricePinion.
https://pricepinion-backend.azurewebsites.net/
0 stars 2 forks source link

Refactor, Mongoose, and Interfaces #17

Closed maslindc2 closed 4 months ago

maslindc2 commented 4 months ago

Refactor

Refactored classes to suppor the OOP-esque style that the professor wants. Reused express patterns from the professor, added interfaces for our Schema\Model. Tests have been updated to support the OOP style now.

Mongoose

Added Mongoose to the packages, and now have a function to connect to it. Storing and fetching is coming soon.

Interfaces

Created interfaces for the Model\Schema, moved interfaces from ScraperUtils out to the interfaces folder.