Run npm install, then run server.js file. Front end is on /index.html. All functionality currently works except sorting by categories.
/getAllTodos -- Return all currently saved todos.
/createNewTodo/ -- Takes an object as its parameter. Name and category keys are required, ID is created automatically.
/updateTodo/ -- Takes object as its parameter and will replace todo with the same id.
/deleteTodo/ -- Requires id for Todo, and will remove it from the Todo array.
/getCategories -- Return all currently saved categories.
/newCategory/{category} -- Creates a new category based on the name. Will not create a new one if it already exists
/updateCategory/{category} -- Takes an object as its parameters which include ID and name. Replaces category with new name if it exists.
/deleteCategory/{id} -- Requires an id for the category, and will remove it from the stored categories array.