This pull request moves schema definition out of the main app.js file and places it in models.js. Ideally, this makes the code more organized and the project easier to understand.
It also moves the authentication strategy definition code into the models file, but that could easily be split into a different file if that seems better.
This pull request moves schema definition out of the main app.js file and places it in models.js. Ideally, this makes the code more organized and the project easier to understand.
It also moves the authentication strategy definition code into the models file, but that could easily be split into a different file if that seems better.