Closed smaldonado1326 closed 3 weeks ago
Closes #13
Added update/delete functionality to index.ejs/main page to allow my inputs to be posted to MongoDB via updating forms in index.ejs.
Created function in app.js "app.post( /saveConverted)" to allow my string input to be saved as a post and updated index.js to point to this function.
Simplified script.js: App would not convert or create a post when string input was in kebab case. Removed the convertToKebabCase function.
Closes #13
Added update/delete functionality to index.ejs/main page to allow my inputs to be posted to MongoDB via updating forms in index.ejs.
Created function in app.js "app.post( /saveConverted)" to allow my string input to be saved as a post and updated index.js to point to this function.
Simplified script.js: App would not convert or create a post when string input was in kebab case. Removed the convertToKebabCase function.