Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-08 | Add recipe is now sent to backend from add form | Tucker Evans | |
2019-12-08 | Add basic input validation to add recipe form | Tucker Evans | |
Validates: Name is required, Timer/Cook Time are digits, Amount/Servings are numbers (digits with optional decimal point). | |||
2019-12-08 | Add add recipe form requires a recipe name before submitting | Tucker Evans | |
2019-12-08 | Fix UI of add form | Tucker Evans | |
Moves Add/Delete buttons around Puts Ingredient/Step parts together Changes Submit button look Removes JSON preview of form value object | |||
2019-12-08 | Add removing Ingredients/Steps from add form | Tucker Evans | |
2019-12-08 | Fix set non-submit buttons type to "button" | Tucker Evans | |
This stops these buttons from triggering the submit action. | |||
2019-12-08 | Fix constructors for Step and Recipe data models | Tucker Evans | |
2019-12-08 | Add convert form data to Recipe Object | Tucker Evans | |
2019-12-08 | Add instruction for lists in form | Tucker Evans | |
The keyword and photos input now have a placeholder instructing the user to separate inputs with commas. | |||
2019-12-08 | Add submit button to form | Tucker Evans | |
2019-12-08 | Add material look to Add Recipe form | Tucker Evans | |
2019-12-08 | Add basic form for adding a recipe | Tucker Evans | |
2019-12-08 | Add base for add-recipe component | Tucker Evans | |
Just changes done by `ng g component add-recipe` | |||
2019-12-07 | Add base component for shopping cart | Chris Undercoffer | |
2019-12-07 | Merge pull request #12 from tuckerevans/REST-service | Tucker Evans | |
Backend REST Service implementation | |||
2019-12-02 | Add deleteRecipe to backend service | Tucker Evans | |
2019-12-02 | Add updateRecipe to backend | Tucker Evans | |
2019-12-02 | Add createRecipe to backend service | Tucker Evans | |
2019-12-02 | Add more CORS related header management | Tucker Evans | |
`Access-Control-Allow-Methods` & `Access-Control-Allow-Headers` headers are needed to make POST requests from angular. | |||
2019-12-02 | Add getRecipe to backend service | Tucker Evans | |
2019-12-02 | Update angular dependencies | Tucker Evans | |
2019-12-02 | Fix typos in DataModels | Tucker Evans | |
Mostly variable name fixes and type fixes. Also delete unused DataModels | |||
2019-12-02 | Fix renamed BackendServiceService | Tucker Evans | |
BackendService was created as BackendServiceService. This was renamed in all other files but not in backend.service.spec.ts. | |||
2019-12-02 | Add getRecipes to BackendService | Tucker Evans | |
2019-12-02 | Add base code for BackendService | Tucker Evans | |
2019-12-02 | Merge pull request #11 from tuckerevans/api_json=recipe_object | schencej | |
Api json and recipe object | |||
2019-12-02 | Merge branch 'master' into api_json=recipe_object | Tucker Evans | |
2019-12-02 | Fix remove Num from Step struct | Tucker Evans | |
The index of the array can be used instead. | |||
2019-12-02 | Merge pull request #10 from tuckerevans/elim | Tucker Evans | |
Elim | |||
2019-12-02 | added app routing and cook page front end | unknown | |
2019-12-02 | Merge pull request #9 from tuckerevans/backend-improvement | schencej | |
Backend improvement (Refactoring) | |||
2019-12-02 | Add variables from backend | Tucker Evans | |
2019-12-02 | Fix Steps as array in recipe | Tucker Evans | |
2019-12-02 | Fix Ingredients as array in recipe | Tucker Evans | |
2019-12-02 | Fix changes json encoding to match frontend | Tucker Evans | |
2019-11-29 | Fix Content-Type header | Tucker Evans | |
Content-Type header was not included in response because WriteHeader() was called before setting Content-Type. | |||
2019-11-29 | Merge branch 'backend-improvement' into api_json=recipe_object | Tucker Evans | |
2019-11-29 | Fix duplicated response code | Tucker Evans | |
Replace response setup/send code w/ calls to sendResponse() | |||
2019-11-28 | Add sendResponse function | Tucker 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-28 | Fix error handling on database connect | Tucker Evans | |
Now panics when can't connect to database and splits handling of errors from Open() and Ping() as separate issues. | |||
2019-11-28 | Fix default case for http method check | Tucker 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-27 | Add CORS headers to backend responsesbackend-v2.0 | Tucker 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-27 | Add consntructor for APIResponse | Tucker Evans | |
2019-11-25 | Added data models. | unknown | |
2019-11-22 | Add readme for backend | Tucker Evans | |
2019-11-14 | Fix 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) | |||
2019-11-12 | Add error responses for generic http methodsbackend-v1.0 | Tucker Evans | |
Also adds error for POST to individual resource | |||
2019-11-12 | Add update functionality to API | Tucker Evans | |
2019-11-12 | Add transactions to Insert sql statement | Tucker Evans | |
Transactions allow us to rollback inserts ensuring that the database is in sync with our application. | |||
2019-11-12 | Add id to ingredients so we can delete unused on update | Tucker Evans | |
When updating ingredients if some # are remove we need to remove the same number from the database and update the rest, without an id column we don't know which ones to delete. |