Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Fix change QueryRow to Exec for ingredient/step inserts | Tucker 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-10 | Add Todos | Tucker Evans | |
2019-11-10 | Add delete functionality for recipes | Tucker Evans | |
2019-11-10 | Add create recipe functionality | Tucker Evans | |
2019-11-10 | Add correct errors for an nonexistent recipe id | Tucker Evans | |
2019-11-10 | Fix responses sent to client | Tucker Evans | |
JSON is no longer output to stdout and actually sent to client | |||
2019-11-10 | Add structure to JSON responses | Tucker Evans | |
JSON responses contains a status(error) section and a data section Note: JSON is still not sent to client | |||
2019-11-10 | Add basic functionality to get list of recipe ids | Tucker Evans | |
Note: Still only prints to stdout, does not respond to client | |||
2019-11-09 | Add basic access recipe functionality | Tucker Evans | |
Note: Only prints recipe to server stdout does not return to client | |||
2019-11-09 | Fix database name | Tucker Evans | |
2019-11-09 | Add database connection | Tucker Evans | |
2019-11-08 | Add basic http routing | Tucker Evans | |