issues
search
SarahNk1-Maker
/
restful-recipies
0
stars
0
forks
source link
squashed them all
#104
Closed
BenACooper
closed
1 year ago
BenACooper
commented
1 year ago
added require bcrypt to /model/user.js
fixed hasmany to hasMany in /model/index.js
/model/user.js added checkPassword and bycrypt.compareSync
updated userData.json seed so passwords are strings
/seeds/recipeData.json changed ingredient to ingredients
/controllers/api/recipeRoutes.js fixed typo in require express
/controllers/api/recipeRoutes.js fixed ../models to ../../models
/controllers/api/recipeRoutes.js fixed ../models to ../../utils/auth
/controllers/api/index.js/6 changed projectRoutes to recipeRoutes
server.js - commented out lines 6, 15, 35
chef.handlersbars/4 - changed name to username
hommepage.handlebars/9 - changed recipe.chef to recipe.user_name
/controllers/homeRoutes.js/12 - changed name to username
/controllers/homeRoutes.js/26 - added console.log(err)
server.js/15/removed {helper} object as argument in exphbs.create();
/models/index.js fixed typo "foreign"
/models/index.js changed user-id to user_id