Feat/controllers - refactor entire backend and new admin interface #75

Merged
KevinMidboe merged 117 commits from feat/controllers into master 2021-02-19 00:19:52 +00:00
Showing only changes of commit 3d99a3e5f2 - Show all commits

View File

@@ -25,6 +25,11 @@ const addWine = async wine => {
} }
}; };
module.exports = { const allWines = () => {
addWine return Wine.find();
};
module.exports = {
addWine,
allWines
}; };