summaryrefslogtreecommitdiff
path: root/backend
AgeCommit message (Collapse)Author
2019-11-12Fix change QueryRow to Exec for ingredient/step insertsTucker Evans
Changed database schema so ingredients & steps does not have an id, and therefore can't return it so instead we just exec the insert statement without returning anything. We do have to check that there were affected rows in order to accurately update the recipe object.
2019-11-10Add TodosTucker Evans
2019-11-10Add delete functionality for recipesTucker Evans
2019-11-10Add create recipe functionalityTucker Evans
2019-11-10Fix RecipeFromId expects only one row from databaseTucker Evans
Now uses sql.QueryRow rather than sql.Query so it doesnt have to check row.Next(), just have to check that row was returned (on scan call)
2019-11-10Add correct errors for an nonexistent recipe idTucker Evans
2019-11-10Fix MakeRecipeFromIdTucker Evans
MakeRecipeFromId was creating a empty recipe because rows.Next() was not being checked.
2019-11-10Fix responses sent to clientTucker Evans
JSON is no longer output to stdout and actually sent to client
2019-11-10Add structure to JSON responsesTucker Evans
JSON responses contains a status(error) section and a data section Note: JSON is still not sent to client
2019-11-10Add basic functionality to get list of recipe idsTucker Evans
Note: Still only prints to stdout, does not respond to client
2019-11-09Add basic access recipe functionalityTucker Evans
Note: Only prints recipe to server stdout does not return to client
2019-11-09Add make Recipe w/ id & database connectionTucker Evans
2019-11-09Add Recipe Type (w/ subtypes Ingredients & Steps)Tucker Evans
2019-11-09Fix database nameTucker Evans
2019-11-09Add database connectionTucker Evans
2019-11-08Add basic http routingTucker Evans