summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-09Add routing to main page after sumbittingTucker Evans
2019-12-09Merge pull request #16 from tuckerevans/backend_readme_updateTucker Evans
Fix backend readme to have correct JSON schema
2019-12-09Merge pull request #14 from tuckerevans/add_pagechrisundercoffer
Add Recipe Page
2019-12-09Fix backend readme to have correct JSON schemaTucker Evans
2019-12-08Fix remove accessing private values of Recipe/Ingredient/StepTucker Evans
2019-12-08Add recipe is now sent to backend from add formTucker Evans
2019-12-08Add basic input validation to add recipe formTucker Evans
Validates: Name is required, Timer/Cook Time are digits, Amount/Servings are numbers (digits with optional decimal point).
2019-12-08Add add recipe form requires a recipe name before submittingTucker Evans
2019-12-08Fix UI of add formTucker Evans
Moves Add/Delete buttons around Puts Ingredient/Step parts together Changes Submit button look Removes JSON preview of form value object
2019-12-08Add removing Ingredients/Steps from add formTucker Evans
2019-12-08Fix set non-submit buttons type to "button"Tucker Evans
This stops these buttons from triggering the submit action.
2019-12-08Fix constructors for Step and Recipe data modelsTucker Evans
2019-12-08Add convert form data to Recipe ObjectTucker Evans
2019-12-08Add instruction for lists in formTucker Evans
The keyword and photos input now have a placeholder instructing the user to separate inputs with commas.
2019-12-08Add submit button to formTucker Evans
2019-12-08Add material look to Add Recipe formTucker Evans
2019-12-08Add basic form for adding a recipeTucker Evans
2019-12-08Add base for add-recipe componentTucker Evans
Just changes done by `ng g component add-recipe`
2019-12-07Merge pull request #12 from tuckerevans/REST-serviceTucker Evans
Backend REST Service implementation
2019-12-02Add deleteRecipe to backend serviceTucker Evans
2019-12-02Add updateRecipe to backendTucker Evans
2019-12-02Add createRecipe to backend serviceTucker Evans
2019-12-02Add more CORS related header managementTucker Evans
`Access-Control-Allow-Methods` & `Access-Control-Allow-Headers` headers are needed to make POST requests from angular.
2019-12-02Add getRecipe to backend serviceTucker Evans
2019-12-02Update angular dependenciesTucker Evans
2019-12-02Fix typos in DataModelsTucker Evans
Mostly variable name fixes and type fixes. Also delete unused DataModels
2019-12-02Fix renamed BackendServiceServiceTucker Evans
BackendService was created as BackendServiceService. This was renamed in all other files but not in backend.service.spec.ts.
2019-12-02Add getRecipes to BackendServiceTucker Evans
2019-12-02Add base code for BackendServiceTucker Evans
2019-12-02Merge pull request #11 from tuckerevans/api_json=recipe_objectschencej
Api json and recipe object
2019-12-02Merge branch 'master' into api_json=recipe_objectTucker Evans
2019-12-02Fix remove Num from Step structTucker Evans
The index of the array can be used instead.
2019-12-02Merge pull request #10 from tuckerevans/elimTucker Evans
Elim
2019-12-02added app routing and cook page front endunknown
2019-12-02Merge pull request #9 from tuckerevans/backend-improvementschencej
Backend improvement (Refactoring)
2019-12-02Add variables from backendTucker Evans
2019-12-02Fix Steps as array in recipeTucker Evans
2019-12-02Fix Ingredients as array in recipeTucker Evans
2019-12-02Fix changes json encoding to match frontendTucker Evans
2019-11-29Fix Content-Type headerTucker Evans
Content-Type header was not included in response because WriteHeader() was called before setting Content-Type.
2019-11-29Merge branch 'backend-improvement' into api_json=recipe_objectTucker Evans
2019-11-29Fix duplicated response codeTucker Evans
Replace response setup/send code w/ calls to sendResponse()
2019-11-28Add sendResponse functionTucker Evans
sendResponse function implements creating and sending a APIRespones so that this code will not be rewritten for every response situation i.e. the different http methods.
2019-11-28Fix error handling on database connectTucker Evans
Now panics when can't connect to database and splits handling of errors from Open() and Ping() as separate issues.
2019-11-28Fix default case for http method checkTucker Evans
Moves default case (Method Not Allowed) into else clause so it is not necessary to return from the previous if's --- only for checking http method, error checking if statements can/should be returning where needed.
2019-11-27Add CORS headers to backend responsesbackend-v2.0Tucker Evans
Access-Control-Allow-Origin:* header added to API responses to allow angular to access API. Note: This allows all domains to access this API through browser javascript See <https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS> for a description of CORS
2019-11-27Add consntructor for APIResponseTucker Evans
2019-11-25Added data models.unknown
2019-11-22Add readme for backendTucker Evans
2019-11-14Fix simplify APIResponse struct using interface{}Tucker Evans
Combines APIResponseItem and APIResponseList into one struct. Hopefully this allows for the combination of some response code (a function that sends a APIResponse that can be used by each http method)