You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added ad database schema, missing restrictions
Still needs type check to ensure it is as expected.
* Removed unnecessary test for pushing purposes
* Updated gitignore with vscode stuff
* Added company model
* Added required to some fields of Ad and 'foreign key' to Company
* Continued work on Ad schema, added job type, technology and field
* Added Date Validation to Publish/End Dates
* Added important information regarding on what needs to be discussed/done
* Updated comments and updated maxlength for title
* Made contacts a Map of Strings
* Added date validations
* Changed 'enums' to arrays instead of objects, because there is no need to access specific values
* Added mongo unique array plugin for ensuring that the elements inside some arrays are unique
* Solved job duration data definition problem by splitting it into two fields
* Started working on automatic tests for Schema Validation
* Added more tests to the Ad Schema. Also added some WIP tests for future development
* Added more test stubs for Ad Schema
* Contacts test added and fixed typo
* Added one more test to contacts (which helped fix a bug, nice)
* Text fix
* Added location (via Point Schema) to Ad Schema and relevant test and test stubs
* Continued work on tests
* Remove unnecessary DB dependency
The Ad Schema tests are testing Schema validation, which does not require MongoDB to be running, only Mongoose validation. As such, clearing the Ad document was creating an unnecessary dependency on having a configured DB. This is also a good idea because of #21.
* Improve Ad validator messages. Implement pending tests for Ad Schema
* Improve company schema
* Add tests for company schema validation
* Implement review fixes
0 commit comments